Share via


FormRegionManifest.ExactMessageClass Property

Gets or sets a value that indicates whether the form region is displayed by derived message classes.

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

Syntax

'Declaration
Property ExactMessageClass As Boolean
    Get
    Set
bool ExactMessageClass { get; set; }

Property Value

Type: System.Boolean
true if the form region is not displayed by derived message classes; otherwise, false. The default is false.

Exceptions

Exception Condition
InvalidOperationException

Locked is true.

Remarks

By default, a custom message class inherits all the form region associations of the base message class. For example, a message class named IPM.Task.Contoso derives from IPM.Task. Therefore, IPM.Task.Contoso inherits the form region associations of IPM.Task.

If you do not want the form region to be associated with any derived message classes, set the ExactMessageClass property of the form region to true. For example, if you associate an adjoining form region with IPM.Task and set the ExactMessageClass property to true, the form region will only be appended to the bottom of a standard task form. The form region will not be appended to the bottom of any customized versions of a standard task form.

.NET Framework Security

See Also

Reference

FormRegionManifest Interface

Microsoft.Office.Tools.Outlook Namespace