Uri.UriSchemeFtp Campo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Specifica che l'accesso all'URI viene eseguito tramite FTP (File Transfer Protocol). Questo campo è di sola lettura.
public: static initonly System::String ^ UriSchemeFtp;
public static readonly string UriSchemeFtp;
staticval mutable UriSchemeFtp : string
Public Shared ReadOnly UriSchemeFtp As String
Nell'esempio seguente viene creata un'istanza Uri di e viene determinato se lo schema è 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
Prodotto | Versioni |
---|---|
.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 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: