Share via


_CommandBarButton.HelpFile Property

Returns or sets the file name for the Help topic attached to the command bar control.

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

Syntax

'Declaration
Property HelpFile As String
    Get
    Set
'Usage
Dim instance As _CommandBarButton
Dim value As String

value = instance.HelpFile

instance.HelpFile = value
string HelpFile { get; set; }

Property Value

Type: System.String

Implements

CommandBarControl.HelpFile

Remarks

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

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

HelpFile Overload

Microsoft.Office.Core Namespace