IVsIME.Activate Method
Activates the Input Method Editor (IME).
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Activate ( _
hwnd As IntPtr, _
<OutAttribute> perr As VSIME_ERR() _
) As Integer
int Activate(
IntPtr hwnd,
VSIME_ERR[] perr
)
int Activate(
[InAttribute] IntPtr hwnd,
[OutAttribute] array<VSIME_ERR>^ perr
)
abstract Activate :
hwnd:IntPtr *
perr:VSIME_ERR[] byref -> int
function Activate(
hwnd : IntPtr,
perr : VSIME_ERR[]
) : int
Parameters
hwnd
Type: IntPtr[in] The handle for the editing window.
perr
Type: array<Microsoft.VisualStudio.Shell.Interop.VSIME_ERR[][out] Pointer to an error value, a value from the VSIME_ERR enumeration. IMENORMAL indicates no error.
Return Value
Type: 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::Activate(
[in] HWND hwnd,
[out] VSIME_ERR * perr
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.