IDocumentQueryTQuery, TObjectInCategory Method |
Ensures that only documents assigned to specified category are retrieved (including all categories on path).
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax TQuery InCategory(
string categoryName,
bool global = false,
bool onlyEnabled = true
)
Parameters
- categoryName
- Type: SystemString
Document category name - global (Optional)
- Type: SystemBoolean
Indicates if global category should be used - onlyEnabled (Optional)
- Type: SystemBoolean
Indicates if only enabled categories should be taken in account
Return Value
Type:
TQuerySee Also