Partager via


Uri.UriSchemeHttps Champ

Définition

Spécifie que l'URI est accessible par l'intermédiaire du protocole HTTPS (Secure Hypertext Transfer Protocol). Ce champ est en lecture seule.

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

Valeur de champ

Exemples

L’exemple suivant crée une Uri instance et détermine si le schéma est 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

S’applique à