Επεξεργασία

Κοινή χρήση μέσω


Path.GetFileName Method

Definition

Overloads

GetFileName(ReadOnlySpan<Char>)
GetFileName(String)

GetFileName(ReadOnlySpan<Char>)

public:
 static ReadOnlySpan<char> GetFileName(ReadOnlySpan<char> path);
public static ReadOnlySpan<char> GetFileName (ReadOnlySpan<char> path);
static member GetFileName : ReadOnlySpan<char> -> ReadOnlySpan<char>
Public Shared Function GetFileName (path As ReadOnlySpan(Of Char)) As ReadOnlySpan(Of Char)

Parameters

Returns

Applies to

GetFileName(String)

public:
 static System::String ^ GetFileName(System::String ^ path);
public static string? GetFileName (string? path);
static member GetFileName : string -> string
Public Shared Function GetFileName (path As String) As String

Parameters

path
String

Returns

Applies to