Click or drag to resize
URLRewriter.CheckPublishedState 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: 10.0.0
Syntax
C#
public static void CheckPublishedState(
	ref PageInfo pageInfo,
	SiteNameOnDemand siteName,
	ViewModeOnDemand viewMode
)

Parameters

pageInfo
Type: CMS.DocumentEngine.PageInfo
Page info
siteName
Type: CMS.SiteProvider.SiteNameOnDemand
Site name
viewMode
Type: CMS.PortalEngine.ViewModeOnDemand
View mode
See Also