Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Moves the editor window to the default position. The method provides a wrapper to ImmSetCompositionWindow.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetDefCurPos ( _
hwnd As IntPtr, _
<OutAttribute> perr As VSIME_ERR() _
) As Integer
'Usage
Dim instance As IVsIME
Dim hwnd As IntPtr
Dim perr As VSIME_ERR()
Dim returnValue As Integer
returnValue = instance.SetDefCurPos(hwnd, _
perr)
int SetDefCurPos(
IntPtr hwnd,
VSIME_ERR[] perr
)
int SetDefCurPos(
[InAttribute] IntPtr hwnd,
[OutAttribute] array<VSIME_ERR>^ perr
)
abstract SetDefCurPos :
hwnd:IntPtr *
perr:VSIME_ERR[] byref -> int
function SetDefCurPos(
hwnd : IntPtr,
perr : VSIME_ERR[]
) : int
Parameters
- hwnd
Type: System.IntPtr
[in] Handle of the editor window.
- perr
Type: array<Microsoft.VisualStudio.Shell.Interop.VSIME_ERR[]
[out] Set to zero when there is an error. Nonzero otherwise.
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::SetDefCurPos(
[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.