Aspose::Email::Storage::Pst::PstItemCategory Class Reference

Represents a category for PST items with a name and associated color. More...

Inherits Object.

Public Member Functions

System::String get_Name () const
 Gets the name of the category. More...
 
OutlookCategoryColor get_Color () const
 Gets the color associated with the category. More...
 
 PstItemCategory (System::String name, OutlookCategoryColor color)
 Initializes a new instance of the PstItemCategory class. More...
 
System::String ToString () const override
 

Detailed Description

Represents a category for PST items with a name and associated color.

Constructor & Destructor Documentation

◆ PstItemCategory()

Aspose::Email::Storage::Pst::PstItemCategory::PstItemCategory ( System::String  name,
OutlookCategoryColor  color 
)

Initializes a new instance of the PstItemCategory class.

Parameters
nameThe name of the category.
colorThe color associated with the category.

Member Function Documentation

◆ get_Color()

OutlookCategoryColor Aspose::Email::Storage::Pst::PstItemCategory::get_Color ( ) const

Gets the color associated with the category.

◆ get_Name()

System::String Aspose::Email::Storage::Pst::PstItemCategory::get_Name ( ) const

Gets the name of the category.

◆ ToString()

System::String Aspose::Email::Storage::Pst::PstItemCategory::ToString ( ) const
override

Returns