Editar

Compartir a través de


StringExtensions.NormalizeSeparators(String) Method

Definition

Ensures directory separator chars in provided string are platform independent. Given path might use \ or / but not all platforms support both.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ NormalizeSeparators(System::String ^ path);
public static string NormalizeSeparators (this string path);
static member NormalizeSeparators : string -> string
<Extension()>
Public Function NormalizeSeparators (path As String) As String

Parameters

path
String

Returns

Applies to