共用方式為


CommandBarControl.HelpContextId Property

Gets the help context ID. Always returns 0.

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

Syntax

'宣告
Property HelpContextId As Integer
    Get
    Set
'用途
Dim instance As CommandBarControl
Dim value As Integer

value = instance.HelpContextId

instance.HelpContextId = value
int HelpContextId { get; set; }
property int HelpContextId {
    int get ();
    void set (int value);
}
abstract HelpContextId : int with get, set
function get HelpContextId () : int
function set HelpContextId (value : int)

Property Value

Type: System.Int32
Returns 0.

Remarks

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

.NET Framework Security

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.VisualStudio.CommandBars Namespace