Click or drag to resize
URLRewriterCheckPublishedState Method
Checks the published state of the document. If the document is not published and combine with default culture is enabled and default culture is published, default culture is returned. If no published version is found, the page info is set to null.

Namespace: CMS.URLRewritingEngine
Assembly: CMS.URLRewritingEngine (in CMS.URLRewritingEngine.dll) Version: 8.2.23
Syntax
C#
public static void CheckPublishedState(
	ref PageInfo pageInfo,
	SiteNameOnDemand siteName,
	ViewModeOnDemand viewMode
)

Parameters

pageInfo
Type: CMS.DocumentEnginePageInfo
Page info
siteName
Type: CMS.SiteProviderSiteNameOnDemand
Site name
viewMode
Type: CMS.PortalEngineViewModeOnDemand
View mode
See Also