Partilhar via


Método IVsTextViewIntellisenseHost.SetSubjectCaretPos

Gerenciamento de cursor/seleção de texto do assunto. Todos retornam E_NOTIMPL se IHF_NOSEPARATESUBJECT é definido em flags.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxe

'Declaração
Function SetSubjectCaretPos ( _
    iIndex As Integer _
) As Integer
int SetSubjectCaretPos(
    int iIndex
)
int SetSubjectCaretPos(
    [InAttribute] int iIndex
)
abstract SetSubjectCaretPos : 
        iIndex:int -> int
function SetSubjectCaretPos(
    iIndex : int
) : int

Parâmetros

  • iIndex
    Tipo: Int32

     

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna NativeMethods.S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

De singlefileeditor.idl:

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

Segurança do .NET Framework

Consulte também

Referência

IVsTextViewIntellisenseHost Interface

Namespace Microsoft.VisualStudio.TextManager.Interop