IVsEditorGoBackLocations.SetNonMergeableGoBackLocation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置不能合并的返回位置。
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
中要设置为不能合并的返回位置的列。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 textmgr:
[C++]
HRESULT IVsEditorGoBackLocations::SetNonMergeableGoBackLocation(
[in] BOOL fCurrentCaretPos,
[in] long iBaseLine,
[in] long iBaseCol
);
使用 fCurrentCaretPos 参数,可以将当前的插入符号位置标记为而不是行和列。 如果 fCurrentCaretPos 为 false ,则有效 iBaseLine 且 iBaseCol 为必需。