Path.GetFileNameWithoutExtension Method
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.
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
- path
- ReadOnlySpan<Char>
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.