Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.DocumentEngine
DocumentQueryBase(TQuery, TObject) Class
DocumentQueryBase(TQuery, TObject) Methods
All Method
AllCultures Method
AllowTopNDistribution Method
CombineWithAnyCulture Method
CombineWithDefaultCulture Method
CopyPropertiesTo Method
Culture Method
Default Method
ExcludePath Method
FilterDuplicates Method
GetAvailableColumns Method
GetCompleteSettings Method
GetData Method
GetDataFromDataSource Method
GetDataFromDB Method
GetDefaultSource Method
GetExecutingQuery Method
CheckPermissions Method
CheckReturnsNoResults Method
InCategory Method
InitTypedResult Method
InRelationWith Method
LatestVersion Method
NestingLevel Method
OnCurrentSite Method
OnSite Method
Path Method
Published Method
PublishedVersion Method
TypeUpdated Method
DocumentQueryBase
TQuery
,
TObject
LatestVersion Method
Ensures that latest version of the documents is retrieved.
Namespace:
CMS.DocumentEngine
Assembly:
CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
Copy
public
TQuery
LatestVersion
(
bool
latest
=
true
)
Parameters
latest
(Optional)
Type:
System
Boolean
If true, the latest (edited) version is retrieved, otherwise published version is retrieved
Return Value
Type:
TQuery
Implements
IDocumentQuery
TQuery, TObject
LatestVersion(Boolean)
See Also
Reference
DocumentQueryBase
TQuery, TObject
Class
CMS.DocumentEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com