Click or drag to resize
ObjectQueryBaseTQuery, 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: 13.0.131
Syntax
C#
public virtual TQuery WithObjectType(
	string objectType
)

Parameters

objectType
Type: SystemString
Object type for the query

Return Value

Type: TQuery

Implements

IObjectQueryTQuery, TObjectWithObjectType(String)
See Also