Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the keyboard shortcut of separate, replacement, and replace-all form regions.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Property RibbonAccelerator As String
'Usage
Dim instance As FormRegionManifest
Dim value As String
value = instance.RibbonAccelerator
instance.RibbonAccelerator = value
public string RibbonAccelerator { get; set; }
public:
property String^ RibbonAccelerator {
String^ get ();
void set (String^ value);
}
public function get RibbonAccelerator () : String
public function set RibbonAccelerator (value : String)
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
- 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.