Поделиться через


FormDescription.MessageClass Property

Returns a String (string in C#) representing the message class for the FormDescription object. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property MessageClass As String
    Get
'Usage
Dim instance As FormDescription
Dim value As String

value = instance.MessageClass
[DispIdAttribute()]
string MessageClass { get; }

Property Value

Type: System.String

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.

See Also

Reference

FormDescription Interface

FormDescription Members

Microsoft.Office.Interop.Outlook Namespace