Partilhar via


Método IVsTextViewIntellisenseHost.GetSubjectSelection

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

Sintaxe

'Declaração
Function GetSubjectSelection ( _
    <OutAttribute> ByRef piAnchorIndex As Integer, _
    <OutAttribute> ByRef piEndIndex As Integer _
) As Integer
int GetSubjectSelection(
    out int piAnchorIndex,
    out int piEndIndex
)
int GetSubjectSelection(
    [OutAttribute] int% piAnchorIndex, 
    [OutAttribute] int% piEndIndex
)
abstract GetSubjectSelection : 
        piAnchorIndex:int byref * 
        piEndIndex:int byref -> int
function GetSubjectSelection(
    piAnchorIndex : int, 
    piEndIndex : int
) : int

Parâmetros

  • piAnchorIndex
    Tipo: Int32%

     

  • piEndIndex
    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::GetSubjectSelection([out] long *piAnchorIndex, [out] long *piEndIndex);

Segurança do .NET Framework

Consulte também

Referência

IVsTextViewIntellisenseHost Interface

Namespace Microsoft.VisualStudio.TextManager.Interop