This documentation is archived and is not being maintained.

IOleCommandTarget.QueryStatus Method

Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in microsoft.visualstudio.ole.interop.dll)

'Declaration
Function QueryStatus ( _
	<InAttribute> ByRef pguidCmdGroup As Guid, _
	<InAttribute> cCmds As UInteger, _
	<InAttribute> <OutAttribute> prgCmds As OLECMD(), _
	<InAttribute> <OutAttribute> pCmdText As IntPtr _
) As Integer
'Usage
Dim instance As IOleCommandTarget
Dim pguidCmdGroup As Guid
Dim cCmds As UInteger
Dim prgCmds As OLECMD()
Dim pCmdText As IntPtr
Dim returnValue As Integer

returnValue = instance.QueryStatus(pguidCmdGroup, cCmds, prgCmds, pCmdText)
int QueryStatus (
	/** @attribute InAttribute() */ /** @ref */ Guid pguidCmdGroup, 
	/** @attribute InAttribute() */ UInt32 cCmds, 
	/** @attribute InAttribute() */ /** @attribute OutAttribute() */ OLECMD[] prgCmds, 
	/** @attribute InAttribute() */ /** @attribute OutAttribute() */ IntPtr pCmdText
)
JScript does not support passing value-type arguments by reference.

Parameters

pguidCmdGroup
cCmds
prgCmds
pCmdText

For information on the COM interface, see IOleCommandTarget::QueryStatus

Show: