UndoManager.QueryStatus メソッド

IOleCommandTarget のインターフェイスの実装。パスは IOleUndoManager のラップされたインスタンスに呼び出します。

名前空間:  Microsoft.VisualStudio.Modeling.Shell
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 内)

構文

'宣言
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
)

パラメーター

戻り値

型 : System.Int32

実装

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

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

UndoManager クラス

Microsoft.VisualStudio.Modeling.Shell 名前空間