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

'Declaración
Public ReadOnly Property CommandId As Integer
    Get
public int CommandId { get; }
public:
property int CommandId {
    int get ();
}
member CommandId : int
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