Office.CategoryDetails interface

Represents a category's details like name and associated color.

Remarks

[ API set: Mailbox 1.8 ]

Minimum permission level: read item

Applicable Outlook mode: Compose or Read

Examples

const categories = [
    {
        "displayName": "Urgent!",
        "color": Office.MailboxEnums.CategoryColor.Preset0
    }
];

Properties

color

The color of the category.

displayName

The name of the category. Maximum length is 255 characters.

Property Details

color

The color of the category.

color: MailboxEnums.CategoryColor | string;

Property Value

displayName

The name of the category. Maximum length is 255 characters.

displayName: string;

Property Value

string