Click or drag to resize
PathEnsureSlashes Method
Ensures that path contains slashes '/'

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax
C#
public static string EnsureSlashes(
	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 slash

Return Value

Type: String
See Also