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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax TQuery WithObjectType(
string objectType
)
Parameters
- objectType
- Type: SystemString
Object type for the query
Return Value
Type:
TQuerySee Also