Share via


IVsEditorGoBackLocations.SetNonMergeableGoBackLocation Method

Sets a non-merge-able go back location.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function SetNonMergeableGoBackLocation ( _
    fCurrentCaretPos As Integer, _
    iBaseLine As Integer, _
    iBaseCol As Integer _
) As Integer
int SetNonMergeableGoBackLocation(
    int fCurrentCaretPos,
    int iBaseLine,
    int iBaseCol
)
int SetNonMergeableGoBackLocation(
    [InAttribute] int fCurrentCaretPos, 
    [InAttribute] int iBaseLine, 
    [InAttribute] int iBaseCol
)
abstract SetNonMergeableGoBackLocation : 
        fCurrentCaretPos:int * 
        iBaseLine:int * 
        iBaseCol:int -> int
function SetNonMergeableGoBackLocation(
    fCurrentCaretPos : int, 
    iBaseLine : int, 
    iBaseCol : int
) : int

Parameters

  • fCurrentCaretPos
    Type: System.Int32

    [in] If value is true, it is not necessary to provide line and column, the current carat position is set as a non- merge-able go back location.

  • iBaseLine
    Type: System.Int32

    [in] The line to set as the non-merge-able go back location.

  • iBaseCol
    Type: System.Int32

    [in] The column to set as the non-merge-able go back location.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

[C++]

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

The fCurrentCaretPos parameter allows you to have the current caret position marked instead of the line and column. If fCurrentCaretPos is false, valid iBaseLine and iBaseCol are required.

.NET Framework Security

See Also

Reference

IVsEditorGoBackLocations Interface

Microsoft.VisualStudio.TextManager.Interop Namespace