Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DocumentInfo.category Property

Module: DocumentInfo

Type: DocumentCategory

## Definition

The document category.

Python

    category: DocumentCategory

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    DocumentCategory get category => getCategory();

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public DocumentCategory category
    {
        get => Getcategory();
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public DocumentCategory getCategory() throws DocumentException

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public var category: DocumentCategory
        get {
            return try! getCategory()
        }
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentInfo_GetCategory (ID3_DOCUMENT_INFO hDocumentInfo, id3DocumentCategory * eCategory)

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.