Share via


CommandBarControl.HelpContextId Property

Returns or sets the Help context Id number for the Help topic attached to the command bar control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property HelpContextId As Integer
    Get
    Set
'Usage
Dim instance As CommandBarControl
Dim value As Integer

value = instance.HelpContextId

instance.HelpContextId = value
int HelpContextId { get; set; }

Property Value

Type: System.Int32

Remarks

To use this property, you must also set the HelpFile property. Help topics respond to SHIFT+F1.

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.Office.Core Namespace