Język

CodeConnectAccess.Scheme Właściwość

Definicja

Pobiera schemat identyfikatora URI reprezentowany przez bieżące wystąpienie.

public:
 property System::String ^ Scheme { System::String ^ get(); };
public string Scheme { get; }
member this.Scheme : string
Public ReadOnly Property Scheme As String

Wartość właściwości

Element String identyfikujący schemat identyfikatora URI przekonwertowany na małe litery.

Przykłady

W poniższym przykładzie kodu pokazano wartość tej właściwości.


static void DisplayProperties (CodeConnectAccess^ access)
{
    Console::WriteLine("Scheme:{0} Port: {1}", 
        access->Scheme, access->Port);
}
public static void DisplayProperties (CodeConnectAccess access)
{
    Console.WriteLine("Scheme:{0} Port: {1}", access.Scheme, access.Port);
}

Uwagi

Wartość schematu jest określana podczas tworzenia wystąpienia klasy CodeConnectAccess.

Dotyczy