Udostępnij za pośrednictwem


FormRegionManifest.FormRegionName Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)

Syntax

'Declaration
Public Property FormRegionName As String
'Usage
Dim instance As FormRegionManifest 
Dim value As String 

value = instance.FormRegionName

instance.FormRegionName = value
public string FormRegionName { get; set; }
public:
property String^ FormRegionName {
    String^ get ();
    void set (String^ value);
}
public function get FormRegionName () : String 
public function set FormRegionName (value : String)

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

See Also

Reference

FormRegionManifest Class

FormRegionManifest Members

Microsoft.Office.Tools.Outlook Namespace