Uri.UriSchemeGopher Field

 

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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: