FormRegionManifest.ExactMessageClass Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Property ExactMessageClass As Boolean
'Usage
Dim instance As FormRegionManifest
Dim value As Boolean
value = instance.ExactMessageClass
instance.ExactMessageClass = value
public bool ExactMessageClass { get; set; }
public:
property bool ExactMessageClass {
bool get ();
void set (bool value);
}
public function get ExactMessageClass () : boolean
public function set ExactMessageClass (value : boolean)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.