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


IVsTextViewIntellisenseHost.SetSubjectSelection - метод

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

Синтаксис

'Декларация
Function SetSubjectSelection ( _
    iAnchorIndex As Integer, _
    iEndIndex As Integer _
) As Integer
int SetSubjectSelection(
    int iAnchorIndex,
    int iEndIndex
)
int SetSubjectSelection(
    [InAttribute] int iAnchorIndex, 
    [InAttribute] int iEndIndex
)
abstract SetSubjectSelection : 
        iAnchorIndex:int * 
        iEndIndex:int -> int
function SetSubjectSelection(
    iAnchorIndex : int, 
    iEndIndex : int
) : int

Параметры

  • iAnchorIndex
    Тип: Int32

     

  • iEndIndex
    Тип: Int32

     

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

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

Заметки

Из singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::SetSubjectSelection([in] long iAnchorIndex, [in] long iEndIndex);

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

См. также

Ссылки

IVsTextViewIntellisenseHost Интерфейс

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