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


IVsEditorGoBackLocations.SetMergeableGoBackLocation - метод

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

Синтаксис

'Декларация
Function SetMergeableGoBackLocation ( _
    fCurrentCaretPos As Integer, _
    iBaseLine As Integer, _
    iBaseCol As Integer _
) As Integer
int SetMergeableGoBackLocation(
    int fCurrentCaretPos,
    int iBaseLine,
    int iBaseCol
)
int SetMergeableGoBackLocation(
    [InAttribute] int fCurrentCaretPos, 
    [InAttribute] int iBaseLine, 
    [InAttribute] int iBaseCol
)
abstract SetMergeableGoBackLocation : 
        fCurrentCaretPos:int * 
        iBaseLine:int * 
        iBaseCol:int -> int
function SetMergeableGoBackLocation(
    fCurrentCaretPos : int, 
    iBaseLine : int, 
    iBaseCol : int
) : int

Параметры

  • fCurrentCaretPos
    Тип: Int32

    [in]

  • iBaseLine
    Тип: Int32

    [in]

  • iBaseCol
    Тип: Int32

    [in]

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

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

Заметки

Модель COM подписи

Из textmgr.idl:

[C++]

HRESULT IVsEditorGoBackLocations::SetMergeableGoBackLocation(
   [in] BOOL fCurrentCaretPos,
   [in] long iBaseLine,
   [in] long iBaseCol
);

fCurrentCaretPos параметр позволяет получить текущее положение курсора помеченную вместо линии и столбца. If fCurrentCaretPos существует false, допустимый iBaseLine и iBaseCol потребуйте.

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

См. также

Ссылки

IVsEditorGoBackLocations Интерфейс

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