Click or drag to resize

PathAddTrailingDirectorySeparator Method (String)

[AlphaFS] Adds a trailing DirectorySeparatorChar character to the string, when absent.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string AddTrailingDirectorySeparator(
	string path
)

Parameters

path
Type: SystemString
A text string to which the trailing DirectorySeparatorChar is to be added, when absent.

Return Value

Type: String
A text string with a trailing DirectorySeparatorChar character. The function returns when path is .
See Also