Compartilhar via


IVsIME.Deactivate(IntPtr, VSIME_ERR[]) Method

Definition

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  
);  

Applies to