_OlkCheckBox.Accelerator Property
Returns or sets a String (string in C#) value that represents the accelerator or hot key for the control. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property Accelerator As String
Get
Set
'Usage
Dim instance As _OlkCheckBox
Dim value As String
value = instance.Accelerator
instance.Accelerator = value
[DispIdAttribute()]
string Accelerator { get; set; }
Property Value
Type: System.String
Remarks
The default value is an empty string, meaning there is no hot key. If the property is set with a string of more than one character, the value will be truncated to the first character.
You cannot use digits in an accelerator.