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

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