Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.DocumentEngine Namespaces
CMS.DocumentEngine
DocumentQueryBase(TQuery, TObject) Class
DocumentQueryBase(TQuery, TObject) Methods
All Method
AllCultures Method
AllowTopNDistribution Method
CheckPermissions 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
GetEnumerableResult Method
GetEnumerableResultAsync Method
GetEnumerableTypedResult Method
GetEnumerableTypedResultAsync Method
GetExecutingQuery Method
InitTypedResult Method
InRelationWith Method
LatestVersion Method
NestingLevel Method
OnCurrentSite Method
OnSite Method
Path Method
Published Method
PublishedVersion Method
TypeUpdated Method
DocumentQueryBase
TQuery
,
TObject
PublishedVersion 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#
Copy
public
virtual
TQuery
PublishedVersion
(
bool
published
=
true
)
Parameters
published
(Optional)
Type:
System
Boolean
If set to false, the method has the same behavior as the
LatestVersion(Boolean)
method.
Return Value
Type:
TQuery
Implements
IDocumentQuery
TQuery, TObject
PublishedVersion(Boolean)
See Also
Reference
DocumentQueryBase
TQuery, TObject
Class
CMS.DocumentEngine Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com