Uri.UriSchemeGopher Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies that the URI is accessed through the Gopher protocol. This field is read-only.

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

Public Shared ReadOnly UriSchemeGopher As String

Field Value

Type: System.String

The following example creates a Uri instance and determines whether the scheme is UriSchemeGopher.

Dim address6 As New Uri("gopher://example.contoso.com/")
If address6.Scheme = Uri.UriSchemeGopher Then
    Console.WriteLine("Uri is Gopher protocol")
End If 

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top