SqlScriptEditorControl.OnExec(Guid, UInt32, UInt32, IntPtr, IntPtr) 方法

定義

覆寫 OnExec 函式。

public:
 override int OnExec(Guid % guidGroup, System::UInt32 nCmdId, System::UInt32 nCmdExcept, IntPtr pobIn, IntPtr pvaOut);
public override int OnExec (ref Guid guidGroup, uint nCmdId, uint nCmdExcept, IntPtr pobIn, IntPtr pvaOut);
override this.OnExec : Guid * uint32 * uint32 * nativeint * nativeint -> int
Public Overrides Function OnExec (ByRef guidGroup As Guid, nCmdId As UInteger, nCmdExcept As UInteger, pobIn As IntPtr, pvaOut As IntPtr) As Integer

參數

guidGroup
Guid

Guid 的參考。

nCmdId
UInt32

指定命令識別碼的 UInt32 值。

nCmdExcept
UInt32

指定命令例外狀況的 UInt32 值。

pobIn
IntPtr

nativeint

IntPtr 物件。

pvaOut
IntPtr

nativeint

IntPtr 物件。

傳回

Int32

整數值,指定作業的結果。

備註

WPF 控制項有兩種: [程式碼編輯器] 視窗和 [結果文字] 視窗。 基類邏輯不會將 Exec 要求傳送至這些控制項,因此轉送至正確的控制項。 如果編輯器處於作用中狀態,請將傳送至 [程式碼編輯器] 視窗,或者轉送至 [結果] 文字視窗。

適用於