Path.TrimEndingDirectorySeparator 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
TrimEndingDirectorySeparator(ReadOnlySpan<Char>) | |
TrimEndingDirectorySeparator(String) |
TrimEndingDirectorySeparator(ReadOnlySpan<Char>)
public:
static ReadOnlySpan<char> TrimEndingDirectorySeparator(ReadOnlySpan<char> path);
public static ReadOnlySpan<char> TrimEndingDirectorySeparator (ReadOnlySpan<char> path);
static member TrimEndingDirectorySeparator : ReadOnlySpan<char> -> ReadOnlySpan<char>
Public Shared Function TrimEndingDirectorySeparator (path As ReadOnlySpan(Of Char)) As ReadOnlySpan(Of Char)
Parameters
- path
- ReadOnlySpan<Char>
Returns
Applies to
TrimEndingDirectorySeparator(String)
public:
static System::String ^ TrimEndingDirectorySeparator(System::String ^ path);
public static string TrimEndingDirectorySeparator (string path);
static member TrimEndingDirectorySeparator : string -> string
Public Shared Function TrimEndingDirectorySeparator (path As String) As String
Parameters
- path
- String
Returns
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.