Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
ObjectQueryBase(TQuery, TObject) Class
ObjectQueryBase(TQuery, TObject) Methods
AsNested Method
CopyPropertiesTo Method
CreateChild Method
ExceptGlobal Method
ForEachObject Method
GetClassName Method
GetClassStructureInfo Method
GetData Method
GetDataSourceName Method
GetDefaultOrderBy Method
GetEnumerableTypedResult Method
GetEnumerableTypedResultAsync Method
GetEnumerator Method
GetExecutingQuery Method
GetIDColumn Method
GetResults Method
InitFromType(T) Method
InitIDQuery Method
InitTypedResult Method
NewEmptyQuery Method
OnlyGlobal Method
OnSite Method
ToString Method
TypeUpdated Method
WithCodeName Method
WithGuid Method
WithID Method
WithObjectType Method
WithSource Method
ObjectQueryBase
TQuery
,
TObject
WithID Method
Sets the where condition for a specific object ID
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
Copy
public
virtual
TQuery
WithID
(
int
objectId
)
Parameters
objectId
Type:
System
Int32
Object ID
Return Value
Type:
TQuery
Implements
IObjectQuery
TQuery, TObject
WithID(Int32)
See Also
Reference
ObjectQueryBase
TQuery, TObject
Class
CMS.DataEngine Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com