Bewerken

Share via


CodeConnectAccess.Scheme Property

Definition

Gets the URI scheme represented by the current instance.

public:
 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.

Examples

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

Remarks

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

Applies to