Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Function QueryStatus ( _
ByRef cmdGroup As Guid, _
commandCount As UInteger, _
commands As OLECMD(), _
cmdText As IntPtr _
) As Integer
'使用
Dim instance As UndoManager
Dim cmdGroup As Guid
Dim commandCount As UInteger
Dim commands As OLECMD()
Dim cmdText As IntPtr
Dim returnValue As Integer
returnValue = instance.QueryStatus(cmdGroup, _
commandCount, commands, cmdText)
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
public final function QueryStatus(
cmdGroup : Guid,
commandCount : uint,
commands : OLECMD[],
cmdText : IntPtr
) : int
Parameters
- cmdGroup
Type: System.Guid%
- commandCount
Type: System.UInt32
- commands
Type: []
- cmdText
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.QueryStatus(Guid%, UInt32, [], IntPtr)
Permissions
- 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.