Freigeben über


Uri.UriSchemeHttps-Feld

Gibt an, dass auf den URI über HTTPS (Secure Hypertext Transfer Protocol) zugegriffen wird. Dieses Feld ist schreibgeschützt.

Namespace: System
Assembly: System (in system.dll)

Syntax

'Declaration
Public Shared ReadOnly UriSchemeHttps As String
'Usage
Dim value As String

value = Uri.UriSchemeHttps
public static readonly string UriSchemeHttps
public:
static initonly String^ UriSchemeHttps
public static final String UriSchemeHttps
public static final var UriSchemeHttps : String

Beispiel

Im folgenden Beispiel wird eine Uri-Instanz erstellt und bestimmt, ob das Schema UriSchemeHttps ist.

Dim address8 As New Uri("https://example.contoso.com")
If address8.Scheme = Uri.UriSchemeHttps Then
    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.");

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

Uri-Klasse
Uri-Member
System-Namespace