IVsIME.Deactivate(IntPtr, VSIME_ERR[]) 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.
Deactivates the Input Method Editor (IME).
public:
int Deactivate(IntPtr hwnd, cli::array <Microsoft::VisualStudio::Shell::Interop::VSIME_ERR> ^ perr);
public int Deactivate (IntPtr hwnd, Microsoft.VisualStudio.Shell.Interop.VSIME_ERR[] perr);
abstract member Deactivate : nativeint * Microsoft.VisualStudio.Shell.Interop.VSIME_ERR[] -> int
Public Function Deactivate (hwnd As IntPtr, perr As VSIME_ERR()) As Integer
Parameters
- hwnd
-
IntPtr
nativeint
[in] The handle of the editor window.
- perr
- VSIME_ERR[]
[out] Pointer to an error value, a value from the VSIME_ERR enumeration. IMENORMAL indicates no error.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsIME::Deactivate(
[in] HWND hwnd,
[out] VSIME_ERR * perr
);