FormRegionManifest.FormRegionName Property
Gets or sets the text that appears on the Ribbon of an Outlook item or in the header text of an adjoining form region.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Property FormRegionName As String
string FormRegionName { get; set; }
Property Value
Type: System.String
A string that contains the text that appears on the Ribbon of an Outlook item or in the header text of an adjoining form region.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Locked is true. |
ArgumentException | The value is greater than 256 characters in length. |
Remarks
For separate form regions, this text appears in the Show group of the Message tab on the Ribbon of the Outlook item.
For adjoining form regions, this text appears in the header text of the form region.
For replacement and replace-all form regions, this text appears in the Choose Form dialog box and the Actions menu in Outlook.
.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.