Kentico 11 API Reference
Kentico 11 API Reference
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
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: 11.0.0
Syntax
C#
Copy
public
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) 2017 Kentico Software
Send comments on this topic to
support@kentico.com