Uri.UriSchemeFtp 필드

정의

FTP(파일 전송 프로토콜)를 통해 URI에 액세스하도록 지정합니다. 이 필드는 읽기 전용입니다.

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

필드 값

예제

다음 예제에서는 Uri instance 만들고 스키마UriSchemeFtp가 인지 여부를 확인합니다.

Uri^ address7 = gcnew Uri( "ftp://contoso/files/testfile.txt" );
if ( address7->Scheme == Uri::UriSchemeFtp )
{
   Console::WriteLine( "Uri is Ftp protocol" );
}
Uri address7 = new Uri("ftp://contoso/files/testfile.txt");
if (address7.Scheme == Uri.UriSchemeFtp)
    Console.WriteLine("Uri is Ftp protocol");
let address7 = Uri "ftp://contoso/files/testfile.txt"
if address7.Scheme = Uri.UriSchemeFtp then
    printfn "Uri is Ftp protocol"
Dim address7 As New Uri("ftp://contoso/files/testfile.txt")
If address7.Scheme = Uri.UriSchemeFtp Then
    Console.WriteLine("Uri is Ftp protocol")
End If

적용 대상