Επεξεργασία

Κοινή χρήση μέσω


CodeConnectAccess.AnyScheme Field

Definition

Contains the string value that represents the scheme wildcard.

public: static initonly System::String ^ AnyScheme;
public static readonly string AnyScheme;
 staticval mutable AnyScheme : string
Public Shared ReadOnly AnyScheme As String 

Field Value

Examples

The following code example displays the value of this field.


static void DisplayFields ()
{
    Console::WriteLine("Origin scheme value:{0} AnyScheme value: {1}", 
        CodeConnectAccess::OriginScheme, CodeConnectAccess::AnyScheme);
}
public static void DisplayFields ()
{
    Console.WriteLine("Origin scheme value:{0} AnyScheme value: {1}",
        CodeConnectAccess.OriginScheme, CodeConnectAccess.AnyScheme);
}

Remarks

As an alternative to constructing a CodeConnectAccess object using this value, you can call the CreateAnySchemeAccess method to obtain a CodeConnectAccess object that represents a specified port and any scheme.

The value of this field is "*".

Applies to