Click or drag to resize
PathEnsureBackslashes Method
Ensures that path contains backslashes '\'

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntax
C#
public static string EnsureBackslashes(
	string path,
	bool trimEnd = false
)

Parameters

path
Type: SystemString
Path to convert
trimEnd (Optional)
Type: SystemBoolean
If true, the end of path is trimmed for backslash

Return Value

Type: String
See Also