Click or drag to resize
AlternativeUrlHelperUrlMatchesConstraint Method
Returns true if alternativeUrl matches allowed alternative URL constraint defined in settings application.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static bool UrlMatchesConstraint(
	AlternativeUrlInfo alternativeUrl
)

Parameters

alternativeUrl
Type: CMS.DocumentEngineAlternativeUrlInfo
AlternativeUrlInfo to be match against the pattern constraint.

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when alternativeUrl is null.
RegexMatchTimeoutExceptionThrown when matching pattern constraint against AlternativeUrlUrl takes too long.
See Also