IVsIntellisenseHost.QueryStatus Method (Guid%, UInt32, array<OLECMD[], array<OLECMDTEXT )
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣言
Function QueryStatus ( _
ByRef pguidCmdGroup As Guid, _
cCmds As UInteger, _
<OutAttribute> prgCmds As OLECMD(), _
<OutAttribute> pCmdText As OLECMDTEXT() _
) As Integer
'使用
Dim instance As IVsIntellisenseHost
Dim pguidCmdGroup As Guid
Dim cCmds As UInteger
Dim prgCmds As OLECMD()
Dim pCmdText As OLECMDTEXT()
Dim returnValue As Integer
returnValue = instance.QueryStatus(pguidCmdGroup, _
cCmds, prgCmds, pCmdText)
int QueryStatus(
ref Guid pguidCmdGroup,
uint cCmds,
OLECMD[] prgCmds,
OLECMDTEXT[] pCmdText
)
int QueryStatus(
[InAttribute] Guid% pguidCmdGroup,
[InAttribute] unsigned int cCmds,
[InAttribute] [OutAttribute] array<OLECMD>^ prgCmds,
[InAttribute] [OutAttribute] array<OLECMDTEXT>^ pCmdText
)
abstract QueryStatus :
pguidCmdGroup:Guid byref *
cCmds:uint32 *
prgCmds:OLECMD[] byref *
pCmdText:OLECMDTEXT[] byref -> int
function QueryStatus(
pguidCmdGroup : Guid,
cCmds : uint,
prgCmds : OLECMD[],
pCmdText : OLECMDTEXT[]
) : int
Parameters
- pguidCmdGroup
Type: System.Guid%
- cCmds
Type: System.UInt32
- prgCmds
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECMD[]
- pCmdText
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECMDTEXT[]
Return Value
Type: System.Int32
.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.