Επεξεργασία

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


Path.GetExtension Method

Definition

Overloads

GetExtension(String)
GetExtension(ReadOnlySpan<Char>)

GetExtension(String)

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

Parameters

path
String

Returns

Applies to

GetExtension(ReadOnlySpan<Char>)

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

Parameters

Returns

Applies to