Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool IsRootDefaultDocumentRelativePath(
	string relativePath
)

Parameters

relativePath
Type: SystemString
Path relative to the application root.

Return Value

Type: Boolean
Returns true if relativePath identifies a default document, otherwise returns false.
See Also