共用方式為


IOleCommandTarget.QueryStatus 方法

命名空間:  Microsoft.TeamFoundation.Client.CommandTarget
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Function QueryStatus ( _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    <OutAttribute> prgCmds As OLECMD(), _
    <OutAttribute> pCmdText As IntPtr _
) As Integer
int QueryStatus(
    ref Guid pguidCmdGroup,
    uint cCmds,
    OLECMD[] prgCmds,
    IntPtr pCmdText
)

參數

傳回值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

IOleCommandTarget 介面

Microsoft.TeamFoundation.Client.CommandTarget 命名空間