Uri.UriSchemeFtp Alan
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
URI'ye Dosya Aktarım Protokolü (FTP) üzerinden erişildiğini belirtir. Bu alan salt okunur durumdadır.
public: static initonly System::String ^ UriSchemeFtp;
public static readonly string UriSchemeFtp;
staticval mutable UriSchemeFtp : string
Public Shared ReadOnly UriSchemeFtp As String
Aşağıdaki örnek bir Uri örnek oluşturur ve düzenin UriSchemeFtpolup olmadığını belirler.
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
Ürün | Sürümler |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: