OutlookCategory Class

Represents a category by which a user can group Outlook items such as messages and events. The user defines categories in a master list, and can apply one or more of these user-defined categories to an item. https://docs.microsoft.com/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0
Inheritance Hierarchy
SystemObject
  Aspose.Email.Clients.GraphOutlookCategory

Namespace:  Aspose.Email.Clients.Graph
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public class OutlookCategory

The OutlookCategory type exposes the following members.

Constructors
  NameDescription
Public methodOutlookCategory
Initializes a new instance of the OutlookCategory class.
Public methodOutlookCategory(String, CategoryPreset)
Initializes a new instance of the OutlookCategory class.
Public methodOutlookCategory(String, String, CategoryPreset)
Initializes a new instance of the OutlookCategory class.
Properties
  NameDescription
Public propertyColor
String representation of a pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. The possible values for color are pre-set constants such as None, preset0 and preset1. Each pre-set constant is further mapped to a color; the actual color is dependent on the Outlook client that the categories are being displayed in.
Public propertyDisplayName
A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed.
Public propertyId
Category identifier
Public propertyPreset
A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. Each pre-set constant is further mapped to a color; the actual color is dependent on the Outlook client that the categories are being displayed in.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
See Also