IGraphClient.CreateCategory method

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

public OutlookCategory CreateCategory(string displayName, CategoryPreset preset)
Parameter Type Description
displayName String A unique name that identifies a category in the user’s mailbox.
preset CategoryPreset pre-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