UndoManager.QueryStatus, méthode
Implémentation d'interface d'IOleCommandTarget.Les séries appellent à l'instance encapsulée d'IOleUndoManager.
Espace de noms : Microsoft.VisualStudio.Modeling.Shell
Assembly : Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntaxe
'Déclaration
Public Function QueryStatus ( _
ByRef cmdGroup As Guid, _
commandCount As UInteger, _
commands As OLECMD(), _
cmdText As IntPtr _
) As Integer
public int QueryStatus(
ref Guid cmdGroup,
uint commandCount,
OLECMD[] commands,
IntPtr cmdText
)
Paramètres
- cmdGroup
Type : System.Guid%
- commandCount
Type : System.UInt32
- commands
Type : array<Microsoft.VisualStudio.OLE.Interop.OLECMD[]
- cmdText
Type : System.IntPtr
Valeur de retour
Type : System.Int32
Implémentations
IOleCommandTarget.QueryStatus(Guid%, UInt32, array<OLECMD[], 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.