FormRegionManifest.DisplayAfter Property (2007 System)
Gets or sets the name of the form region to display before this form region.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Property DisplayAfter As String
'Usage
Dim instance As FormRegionManifest
Dim value As String
value = instance.DisplayAfter
instance.DisplayAfter = value
public string DisplayAfter { get; set; }
public:
property String^ DisplayAfter {
String^ get ();
void set (String^ value);
}
public function get DisplayAfter () : String
public function set DisplayAfter (value : String)
Property Value
Type: System.String
A string that represents the name of the form region to display before this form region.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Locked is true. |
ArgumentException | The value is greater than 256 characters in length. |
Remarks
For example, if you set the DisplayAfter property to the name of an adjoining form region, that form region appears before this form region on the Outlook form.
Use the Name of the form region to set this property.
For more information about the form region name, see Guidelines for Creating Outlook Form Regions.
.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.