Partager via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
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

Return Value

Type: System.Int32

Implements

IOleCommandTarget.QueryStatus(Guid%, UInt32, array<OLECMD[], IntPtr)

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling.Shell Namespace