URLHelperIsRootDefaultDocumentRelativePath Method |
Indicates whether relativePath starting from application root identifies a default document within application root.
The default document is identified by '/default.aspx', '/' or empty string relativePath.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static bool IsRootDefaultDocumentRelativePath(
string relativePath
)
Parameters
- relativePath
- Type: SystemString
Path relative to the application root.
Return Value
Type:
BooleanReturns true if
relativePath identifies a default document, otherwise returns false.
See Also