public IntPtr GetWindowHandle() { IntPtr hWnd; ErrorHandler.ThrowOnFailure(intellisenseHost.GetHostWindow(out hWnd)); return(hWnd); }