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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
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
See Also