CodeConnectAccess.OriginScheme Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the value used to represent the scheme in the URL where the code originated.
public: static initonly System::String ^ OriginScheme;
public static readonly string OriginScheme;
staticval mutable OriginScheme : string
Public Shared ReadOnly OriginScheme 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
Do not use this field with the CodeConnectAccess constructor. Instead, use the CreateOriginSchemeAccess method.
The value of this field is "$origin".
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.