UndoManager.QueryStatus Method
Implementation of IOleCommandTarget interface. Passes call to the wrapped IOleUndoManager instance.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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
)
public:
virtual int QueryStatus(
Guid% cmdGroup,
unsigned int commandCount,
array<OLECMD>^ commands,
IntPtr cmdText
) sealed
abstract QueryStatus :
cmdGroup:Guid byref *
commandCount:uint32 *
commands:OLECMD[] *
cmdText:IntPtr -> int
override QueryStatus :
cmdGroup:Guid byref *
commandCount:uint32 *
commands:OLECMD[] *
cmdText:IntPtr -> int
public final function QueryStatus(
cmdGroup : Guid,
commandCount : uint,
commands : OLECMD[],
cmdText : IntPtr
) : int
Parameters
- cmdGroup
Type: System.Guid%
- commandCount
Type: System.UInt32
- commands
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECMD[]
- cmdText
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.QueryStatus(Guid%, UInt32, array<OLECMD[], IntPtr)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.