Uri.UriSchemeFtp Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies that the URI is accessed through the File Transfer Protocol (FTP). This field is read-only.
public: static initonly System::String ^ UriSchemeFtp;
public static readonly string UriSchemeFtp;
staticval mutable UriSchemeFtp : string
Public Shared ReadOnly UriSchemeFtp As String
Field Value
Examples
The following example creates a Uri instance and determines whether the scheme is 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
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om