Partager via


Events.CommandEvents, propriété

Obtient CommandEvents pour la commande spécifiée.

Espace de noms :  EnvDTE
Assembly :  EnvDTE (dans EnvDTE.dll)

Syntaxe

'Déclaration
ReadOnly Property CommandEvents ( _
    Guid As String, _
    ID As Integer _
) As CommandEvents
    Get
CommandEvents this[
    string Guid,
    int ID
] { get; }
property CommandEvents^ CommandEvents[[InAttribute] String^ Guid, [InAttribute] int ID] {
    CommandEvents^ get ([InAttribute] String^ Guid, [InAttribute] int ID);
}
abstract CommandEvents : CommandEvents
JScript ne prend pas en charge les propriétés indexées.

Paramètres

  • Guid
    Type : System.String
    Obligatoire.Le GUID pour le groupe de commandes.Si Guid est Null ou Nothing, CommandEvents retourne un objet CommandEvents représentant toutes les commandes de l'environnement.
  • ID
    Type : System.Int32
    Obligatoire.Un index dans le groupe de commandes pour la commande spécifique.Si ID est Null ou Nothing, CommandEvents retourne un objet CommandEvents représentant toutes les commandes du groupe.

Valeur de propriété

Type : EnvDTE.CommandEvents
Objet CommandEvents.

Sécurité .NET Framework

Voir aussi

Référence

Events Interface

EnvDTE, espace de noms