Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.DocumentEngine Namespaces
CMS.DocumentEngine
MultiDocumentQueryBase(TQuery, TInnerQuery, TObject) Class
MultiDocumentQueryBase(TQuery, TInnerQuery, TObject) Methods
All Method
AllCultures Method
AllowTopNDistribution Method
ApplyProperties Method
CombineWithAnyCulture Method
CombineWithDefaultCulture Method
CopyPropertiesTo Method
CreateQuery Method
Culture Method
Default Method
EnsureQuery Method
ExcludePath Method
FilterDuplicates Method
GetAvailableColumns Method
GetDataFromDataSource Method
GetDataFromDB Method
GetDefaultOrderBy Method
GetExecutingQuery Method
GetIDColumn Method
GetSingleQuery Method
GetTypesWhereCondition Method
CheckPermissions Method
InitTypedResult Method
InRelationWith Method
LatestVersion Method
NestingLevel Method
OnCurrentSite Method
OnlyCoupledColumns Method
OnSite Method
Path Method
Published Method
PublishedVersion Method
ResolveType Method
SetClassName Method
WithCoupledColumns Method
MultiDocumentQueryBase
TQuery
,
TInnerQuery
,
TObject
LatestVersion Method
Ensures that latest version of the documents is retrieved.
Namespace:
CMS.DocumentEngine
Assembly:
CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.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
MultiDocumentQueryBase
TQuery, TInnerQuery, TObject
Class
CMS.DocumentEngine Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com