Поделиться через


IVsTextViewIntellisenseHost.GetSubjectSelection - метод

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop.8.0 (в Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Синтаксис

'Декларация
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

Параметры

  • piAnchorIndex
    Тип: Int32%

     

  • piEndIndex
    Тип: Int32%

     

Возвращаемое значение

Тип: Int32
Если метод завершается успешно, возвращает NativeMethods.S_OK.Если происходит сбой, возвращается код ошибки.

Заметки

Из singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetSubjectSelection([out] long *piAnchorIndex, [out] long *piEndIndex);

Безопасность платформы .NET Framework

См. также

Ссылки

IVsTextViewIntellisenseHost Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен