Επεξεργασία

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


Path.GetFileNameWithoutExtension Method

Definition

Overloads

GetFileNameWithoutExtension(ReadOnlySpan<Char>)
GetFileNameWithoutExtension(String)

GetFileNameWithoutExtension(ReadOnlySpan<Char>)

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

Parameters

Returns

Applies to

GetFileNameWithoutExtension(String)

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

Parameters

path
String

Returns

Applies to