BuildMaster SDK Reference
Version:
EnsureTrailingDirectorySeparator(string path) Method
Returns the specified with with an appended directory separator character if one
was not already present.
Syntax
public
static
string EnsureTrailingDirectorySeparator(string path)
Parameters
- path
- Type: string
The path.
Returns
Path with trailing directory separator. If path is null (Nothing in Visual Basic) or empty, it is returned unchanged.