OleCommand.CommandId, propriété
Extrait l'ID de commande du groupe de menus spécifié.
Espace de noms : Microsoft.VisualStudio.Data
Assembly : Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)
Syntaxe
'Déclaration
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
Valeur de propriété
Type : Int32
Retourne une valeur entière représentant l'ID de commande
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.