言語

SqlScriptEditorControl.OnQueryStatus(Guid, UInt32, OLECMD[], IntPtr) メソッド

定義

OnQueryStatus関数を上書きします。

public:
 override int OnQueryStatus(Guid % guidGroup, System::UInt32 nCmdId, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ oleCmd, IntPtr oleText);
public override int OnQueryStatus(ref Guid guidGroup, uint nCmdId, Microsoft.VisualStudio.OLE.Interop.OLECMD[] oleCmd, IntPtr oleText);
override this.OnQueryStatus : Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
Public Overrides Function OnQueryStatus (ByRef guidGroup As Guid, nCmdId As UInteger, oleCmd As OLECMD(), oleText As IntPtr) As Integer

パラメーター

guidGroup
Guid

Guid への参照です。

nCmdId
UInt32

UInt32 です。

oleCmd
OLECMD[]

OLECMD オブジェクトの配列。

oleText
IntPtr

nativeint

IntPtr です。

返品

操作の結果を示す整数の値。

注釈

WPFにはコードエディタウィンドウと結果テキストウィンドウの2つのコントロールがあります。 ベースクラスのロジックはこれらのコントロールにQueryStatusリクエストを送信しないため、正しいコントロールに転送します。 エディタがアクティブな場合はコードエディタのウィンドウに送り、そうでなければ結果のテキストウィンドウに転送します。

適用対象