Click or drag to resize
IObjectQueryTQuery, TObjectWithObjectType Method
Changes the query to use the given object type. Applies the object type condition to the query. The new object type must have the same class name as the original one.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
TQuery WithObjectType(
	string objectType
)

Parameters

objectType
Type: SystemString
Object type for the query

Return Value

Type: TQuery
See Also