IDocumentCategoryInfoProviderGetAsync Method |
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax Task<DocumentCategoryInfo> GetAsync(
int documentId,
int categoryId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- documentId
- Type: SystemInt32
Page ID. - categoryId
- Type: SystemInt32
Content category ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskDocumentCategoryInfoReturns a task returning either an instance of
DocumentCategoryInfo corresponding to given identifiers or null.
See Also