Click or drag to resize
MultiDocumentQueryBaseTQuery, TInnerQuery, TObjectLatestVersion Method
Ensures that latest version of the documents is retrieved.

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

Parameters

latest (Optional)
Type: SystemBoolean
If true, the latest (edited) version is retrieved, otherwise published version is retrieved

Return Value

Type: TQuery

Implements

IDocumentQueryTQuery, TObjectLatestVersion(Boolean)
See Also