SharingItem.MessageClass property (Outlook)

Returns or sets a String representing the message class for the SharingItem. Read/write.

Syntax

expression. MessageClass

expression A variable that represents a SharingItem object.

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.

The default value for this property is IPM.Sharing.

See also

SharingItem Object

Item Types and Message Classes

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.