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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.