Compartir a través de


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

See Also

Reference

OleCommand Class

Microsoft.VisualStudio.Data Namespace