CodeConnectAccess.Scheme Property


Gets the URI scheme represented by the current instance.

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

Property Value

A String that identifies a URI scheme, converted to lowercase.


The following code example demonstrates displaying the value of this property.

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);


The scheme value is specified when you create an instance of CodeConnectAccess.

Applies to