Click or drag to resize
DocumentQueryBaseTQuery, TObjectPublishedVersion Method
Ensures that only published versions of documents are retrieved.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public virtual TQuery PublishedVersion(
	bool published = true
)

Parameters

published (Optional)
Type: SystemBoolean
If set to false, the method has the same behavior as the LatestVersion(Boolean) method.

Return Value

Type: TQuery

Implements

IDocumentQueryTQuery, TObjectPublishedVersion(Boolean)
See Also