Partager via


CommandBarButtonClass.HelpContextId Property

Gets the help context ID. Always returns 0.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Public Overridable Property HelpContextId As Integer
public virtual int HelpContextId { get; set; }
public:
virtual property int HelpContextId {
    int get ();
    void set (int value);
}
abstract HelpContextId : int with get, set 
override HelpContextId : int with get, set
function get HelpContextId () : int 
function set HelpContextId (value : int)

Property Value

Type: Int32
Returns 0.

Implements

_CommandBarButton.HelpContextId

Remarks

Attempting to set this property with any other value will cause an exception to be thrown.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace