IGraphClientCreateCategory Method |
Namespace:
Aspose.Email.Clients.Graph
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
SyntaxOutlookCategory CreateCategory(
string displayName,
CategoryPreset preset
)
Function CreateCategory (
displayName As String,
preset As CategoryPreset
) As OutlookCategory
OutlookCategory^ CreateCategory(
String^ displayName,
CategoryPreset preset
)
abstract CreateCategory :
displayName : string *
preset : CategoryPreset -> OutlookCategory
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:
OutlookCategoryCategory by which a user can group Outlook items such as messages and events
See Also