IVsEditorGoBackLocations.SetNonMergeableGoBackLocation 方法

定义

设置不能合并的返回位置。

public:
 int SetNonMergeableGoBackLocation(int fCurrentCaretPos, int iBaseLine, int iBaseCol);
public:
 int SetNonMergeableGoBackLocation(int fCurrentCaretPos, int iBaseLine, int iBaseCol);
int SetNonMergeableGoBackLocation(int fCurrentCaretPos, int iBaseLine, int iBaseCol);
public int SetNonMergeableGoBackLocation (int fCurrentCaretPos, int iBaseLine, int iBaseCol);
abstract member SetNonMergeableGoBackLocation : int * int * int -> int
Public Function SetNonMergeableGoBackLocation (fCurrentCaretPos As Integer, iBaseLine As Integer, iBaseCol As Integer) As Integer

参数

fCurrentCaretPos
Int32

中如果 value 为 true,则不需要提供行和列,当前克拉位置设置为不可合并的返回位置。

iBaseLine
Int32

中要设置为不可合并的返回位置的行。

iBaseCol
Int32

中要设置为不能合并的返回位置的列。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 textmgr:

[C++]

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

使用 fCurrentCaretPos 参数,可以将当前的插入符号位置标记为而不是行和列。 如果 fCurrentCaretPosfalse ,则有效 iBaseLineiBaseCol 为必需。

适用于