Uri.UriSchemeGopher 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 Gopher protocol. This field is read-only.
public: static initonly System::String ^ UriSchemeGopher;
public static readonly string UriSchemeGopher;
staticval mutable UriSchemeGopher : string
Public Shared ReadOnly UriSchemeGopher As String
Field Value
Examples
The following example creates a Uri instance and determines whether the scheme is UriSchemeGopher.
Uri^ address6 = gcnew Uri( "gopher://example.contoso.com/" );
if ( address6->Scheme == Uri::UriSchemeGopher )
{
Console::WriteLine( "Uri is Gopher protocol" );
}
Uri address6 = new Uri("gopher://example.contoso.com/");
if (address6.Scheme == Uri.UriSchemeGopher)
Console.WriteLine("Uri is Gopher protocol");
let address6 = Uri "gopher://example.contoso.com/"
if address6.Scheme = Uri.UriSchemeGopher then
printfn "Uri is Gopher protocol"
Dim address6 As New Uri("gopher://example.contoso.com/")
If address6.Scheme = Uri.UriSchemeGopher Then
Console.WriteLine("Uri is Gopher protocol")
End If
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.