SqlScriptEditorControl.OnExec(Guid, UInt32, UInt32, IntPtr, IntPtr) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
覆寫 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
參數
傳回
整數值,指定作業的結果。
備註
WPF 控制項有兩種: [程式碼編輯器] 視窗和 [結果文字] 視窗。 基類邏輯不會將 Exec 要求傳送至這些控制項,因此轉送至正確的控制項。 如果編輯器處於作用中狀態,請將傳送至 [程式碼編輯器] 視窗,或者轉送至 [結果] 文字視窗。