Partilhar via


FormRegionManifest.RibbonAccelerator Property

Gets or sets the keyboard shortcut of separate, replacement, and replace-all form regions.

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

Syntax

'Declaration
Property RibbonAccelerator As String
string RibbonAccelerator { get; set; }

Property Value

Type: System.String
A string that represents the keyboard shortcut of separate, replacement, and replace-all form regions.

Exceptions

Exception Condition
InvalidOperationException

Locked is true.

ArgumentException

The value is greater than 2 characters in length or contains characters that are not alpha numeric.

Remarks

The string must be from 1 to 2 characters, and must not contain spaces, tabs, or newline characters.

You can use this keyboard shortcut as an access key combination to activate a separate, replacement, or replace-all form region. For a separate form region, the keyboard shortcut appears on the Ribbon of an Outlook item when you press the ALT key.

.NET Framework Security

See Also

Reference

FormRegionManifest Interface

Microsoft.Office.Tools.Outlook Namespace