Office.CategoryDetails interface

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

[ API set: Mailbox 1.8 ]

Remarks

Minimum permission level: ReadItem

Applicable Outlook mode: Compose or Read

Examples

var 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