言語

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 インスタンスを作成し、スキームが UriSchemeFtpされているかどうかを判断します。

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

適用対象