Gets the menu command ID that is associated with the node.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable ReadOnly Property MenuCommandId As Integer
'使用
Dim instance As HierarchyNode
Dim value As Integer
value = instance.MenuCommandId
public virtual int MenuCommandId { get; }
public:
virtual property int MenuCommandId {
int get ();
}
public function get MenuCommandId () : int
Property Value
Type: System.Int32
By default, returns IDM_VS_CTXT_NOCOMMANDS. Implementations should return the ID of the shortcut menu that is associated with the node.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.