OleCommand.CommandId Property
Retrieves the ID of the command from within the specified menu group.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public ReadOnly Property CommandId As Integer
public int CommandId { get; }
public:
property int CommandId {
int get ();
}
member CommandId : int with get
function get CommandId () : int
Property Value
Type: System.Int32
Returns an integer value representing the command ID.
.NET Framework Security
- 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.