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: 11.0.0
SyntaxTQuery WithObjectType(
string objectType
)
Parameters
- objectType
- Type: SystemString
Object type for the query
Return Value
Type:
TQuery
See Also