IGraphClientCreateCategory Method

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

Namespace:  Aspose.Email.Clients.Graph
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
OutlookCategory CreateCategory(
	string displayName,
	CategoryPreset preset
)

Parameters

displayName
Type: SystemString
A unique name that identifies a category in the user's mailbox.
preset
Type: Aspose.Email.Clients.GraphCategoryPreset
pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors

Return Value

Type: OutlookCategory
Category by which a user can group Outlook items such as messages and events
See Also