_ContactItem.MessageClass Property

Definition

Returns or sets a String (string in C#) representing the message class for the Outlook item. Read/write.

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

Property Value

Remarks

This property corresponds to the MAPI property PidTagMessageClass. The MessageClass property links the item to the form on which it is based. When an item is selected, Outlook uses the message class to locate the form and expose its properties, such as Reply commands.

Applies to