Click or drag to resize
AlternativeUrlHelperMatchesAnyExcludedUrl Method
Returns true if alternativeUrl matches any excluded URL defined in settings application.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static bool MatchesAnyExcludedUrl(
	NormalizedAlternativeUrl alternativeUrl,
	int siteId
)

Parameters

alternativeUrl
Type: CMS.DocumentEngineNormalizedAlternativeUrl
AlternativeUrlUrl to be matched against alternative URL constraints.
siteId
Type: SystemInt32
Identifier of the site to which the URL belongs.

Return Value

Type: Boolean
Remarks
The alternativeUrl is matched against global settings and site settings identified by siteId.
See Also