다음을 통해 공유


Uri.UriSchemeGopher 필드

정의

Gopher 프로토콜을 통해 URI에 액세스하도록 지정합니다. 이 필드는 읽기 전용입니다.

public: static initonly System::String ^ UriSchemeGopher;
public static readonly string UriSchemeGopher;
 staticval mutable UriSchemeGopher : string
Public Shared ReadOnly UriSchemeGopher As String 

필드 값

예제

다음 예제에서는 Uri instance 만들고 스키마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

적용 대상