PathAddTrailingDirectorySeparator Method (String, Boolean) |
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static string AddTrailingDirectorySeparator(
string path,
bool addAlternateSeparator
)
Public Shared Function AddTrailingDirectorySeparator (
path As String,
addAlternateSeparator As Boolean
) As String
public:
static String^ AddTrailingDirectorySeparator(
String^ path,
bool addAlternateSeparator
)
static member AddTrailingDirectorySeparator :
path : string *
addAlternateSeparator : bool -> string
Parameters
- path
- Type: SystemString
A text string to which the trailing DirectorySeparatorChar or AltDirectorySeparatorChar is to be added, when absent. - addAlternateSeparator
- Type: SystemBoolean
If the AltDirectorySeparatorChar character will be added instead.
Return Value
Type:
StringA text string with a trailing
DirectorySeparatorChar or
AltDirectorySeparatorChar character. The function returns
when
path is
.
See Also