Share via


IVsIME.Deactivate Method

Deactivates the Input Method Editor (IME).

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function Deactivate ( _
    hwnd As IntPtr, _
    <OutAttribute> perr As VSIME_ERR() _
) As Integer
int Deactivate(
    IntPtr hwnd,
    VSIME_ERR[] perr
)
int Deactivate(
    [InAttribute] IntPtr hwnd, 
    [OutAttribute] array<VSIME_ERR>^ perr
)
abstract Deactivate : 
        hwnd:IntPtr * 
        perr:VSIME_ERR[] byref -> int 
function Deactivate(
    hwnd : IntPtr, 
    perr : VSIME_ERR[]
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsIME Interface

Microsoft.VisualStudio.Shell.Interop Namespace