DataPackage.IOleCommandTarget.Exec, méthode
Exécute la commande spécifiée ou affiche l'aide de la commande.
Espace de noms : Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly : Microsoft.VisualStudio.Data.Schema.Package (dans Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntaxe
'Déclaration
Private Function Exec ( _
ByRef pguidCmdGroup As Guid, _
cmdId As UInteger, _
cmdExecOpt As UInteger, _
vaIn As IntPtr, _
vaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
int IOleCommandTarget.Exec(
ref Guid pguidCmdGroup,
uint cmdId,
uint cmdExecOpt,
IntPtr vaIn,
IntPtr vaOut
)
private:
virtual int Exec(
Guid% pguidCmdGroup,
unsigned int cmdId,
unsigned int cmdExecOpt,
IntPtr vaIn,
IntPtr vaOut
) sealed = IOleCommandTarget::Exec
private abstract Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
cmdExecOpt:uint32 *
vaIn:IntPtr *
vaOut:IntPtr -> int
private override Exec :
pguidCmdGroup:Guid byref *
cmdId:uint32 *
cmdExecOpt:uint32 *
vaIn:IntPtr *
vaOut:IntPtr -> int
JScript ne prend pas en charge les implémentations d'interfaces explicites.
Paramètres
- pguidCmdGroup
Type : System.Guid%
- cmdId
Type : System.UInt32
- cmdExecOpt
Type : System.UInt32
- vaIn
Type : System.IntPtr
- vaOut
Type : System.IntPtr
Valeur de retour
Type : System.Int32
Implémentations
IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)
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, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.VisualStudio.Data.Schema.Package.UI, espace de noms