PageRoutingHelperEnsurePathFormat Method |
Ensures correct page URL path format based on settings configuration for the content tree based router.
Namespace: CMS.DocumentEngine.RoutingAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static bool EnsurePathFormat(
string path,
SiteInfoIdentifier site,
out string formattedPath
)
Parameters
- path
- Type: SystemString
Page URL path. - site
- Type: CMS.DataEngineSiteInfoIdentifier
Site. - formattedPath
- Type: SystemString
When the return value is true formatted path is returned otherwise the original path is returned.
Return Value
Type:
BooleanTrue if the given path was formatted.
See Also