IGraphClient.CreateCategory

IGraphClient.CreateCategory method

Creates an OutlookCategory object in the user’s master list of categories.

public OutlookCategory CreateCategory(string displayName, CategoryPreset preset)
ParameterTypeDescription
displayNameStringA unique name that identifies a category in the user’s mailbox.
presetCategoryPresetpre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors

Return Value

Category by which a user can group Outlook items such as messages and events

See Also