SqlScriptEditorControl.OnQueryStatus(Guid, UInt32, OLECMD[], IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overrides the OnQueryStatus function.
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
Parameters
Returns
An integer value that indicates the result of operation.
Remarks
There are two WPF controls: the code editor window and the results text window. Base class logic does not send QueryStatus request to these controls, so forwarding to the right control. If the editor is active, then send to the code editor window, else forward to the results text window.