Uri.UriSchemeHttps Uri.UriSchemeHttps Uri.UriSchemeHttps Uri.UriSchemeHttps Field

定義

HTTPS (Secure Hypertext Transfer Protocol) 経由で URI にアクセスすることを指定します。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 

フィールド値

次の例では、作成、Uriインスタンスし、スキームがあるかどうかを判断しますUriSchemeHttpsします。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.");
Dim address8 As New Uri("https://example.contoso.com")
If address8.Scheme = Uri.UriSchemeHttps Then
    Console.WriteLine("Uri is Https protocol.")
End If 

適用対象