Uri.UriSchemeHttps 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.
Specifies that the URI is accessed through the Secure Hypertext Transfer Protocol (HTTPS). This field is read-only.
public: static initonly System::String ^ UriSchemeHttps;
public static readonly string UriSchemeHttps;
staticval mutable UriSchemeHttps : string
Public Shared ReadOnly UriSchemeHttps As String
Field Value
Examples
The following example creates a Uri instance and determines whether the scheme is UriSchemeHttps.
Uri^ address8 = gcnew Uri( "https://example.contoso.com" );
if ( address8->Scheme == Uri::UriSchemeHttps )
{
Console::WriteLine( "Uri is Https protocol." );
}
Uri address8 = new Uri("https://example.contoso.com");
if (address8.Scheme == Uri.UriSchemeHttps)
Console.WriteLine("Uri is Https protocol.");
let address8 = Uri "https://example.contoso.com"
if address8.Scheme = Uri.UriSchemeHttps then
printfn "Uri is Https protocol."
Dim address8 As New Uri("https://example.contoso.com")
If address8.Scheme = Uri.UriSchemeHttps Then
Console.WriteLine("Uri is Https protocol.")
End If
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.