共用方式為


IVsTextViewIntellisenseHost.SetSubjectCaretPos(Int32) Method

Definition

Caret/selection management for subject text. All return E_NOTIMPL if IHF_NOSEPARATESUBJECT is set in flags.

public:
 int SetSubjectCaretPos(int iIndex);
public:
 int SetSubjectCaretPos(int iIndex);
int SetSubjectCaretPos(int iIndex);
public int SetSubjectCaretPos (int iIndex);
abstract member SetSubjectCaretPos : int -> int
Public Function SetSubjectCaretPos (iIndex As Integer) As Integer

Parameters

iIndex
Int32

 

Returns

If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.

Implements

Remarks

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::SetSubjectCaretPos([in] long iIndex);  

Applies to