Uri.UriSchemeHttps Veld

Definitie

Hiermee geeft u op dat de URI wordt geopend via het Secure Hypertext Transfer Protocol (HTTPS). Dit veld is alleen-lezen.

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

Waarde van veld

Voorbeelden

In het volgende voorbeeld wordt een Uri exemplaar gemaakt en wordt bepaald of het schema is UriSchemeHttps.

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

Van toepassing op