Edit

Share via


_MailItem.Categories Property

Definition

Returns or sets a String (string in C#) representing the categories assigned to the Outlook item. Read/write.

public:
 property System::String ^ Categories { System::String ^ get(); void set(System::String ^ value); };
public string Categories { get; set; }
Public Property Categories As String

Property Value

Remarks

Categories is a delimited string of category names that have been assigned to an Outlook item. This property uses the character specified in the value name, sList, under HKEY_CURRENT_USER\Control Panel\International in the Windows registry, as the delimiter for multiple category values. To convert the string of category names to an array of category names, use the Microsoft Visual Basic function Split.

Applies to