_Category.ShortcutKey Property

Returns or sets an OlCategoryShortcutKey constant that specifies the shortcut key used by the Category object. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property ShortcutKey As OlCategoryShortcutKey
    Get
    Set
'Usage
Dim instance As _Category
Dim value As OlCategoryShortcutKey

value = instance.ShortcutKey

instance.ShortcutKey = value
[DispIdAttribute()]
OlCategoryShortcutKey ShortcutKey { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlCategoryShortcutKey

Remarks

Any OlCategoryShortcutKey constant other than olCategoryShortcutKeyNone can only be used by one Category object at any given time. Setting the value of this property to an OlCategoryShortcutKey constant already in use sets the ShortcutKey property of the Category object already using the specified value to olCategoryShortcutKeyNone.

See Also

Reference

_Category Interface

_Category Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Enumerate and Add Categories