IVsTextLayerMarker.ResetSpan(Int32, Int32, Int32, Int32) 方法

定义

重置标记位置。

public:
 int ResetSpan(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
public:
 int ResetSpan(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
int ResetSpan(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
public int ResetSpan (int iStartLine, int iStartIndex, int iEndLine, int iEndIndex);
abstract member ResetSpan : int * int * int * int -> int
Public Function ResetSpan (iStartLine As Integer, iStartIndex As Integer, iEndLine As Integer, iEndIndex As Integer) As Integer

参数

iStartLine
Int32

中起始行。

iStartIndex
Int32

中行 (中的起始字符索引必须为 < 等于行) 的长度。

iEndLine
Int32

中结束行。

iEndIndex
Int32

中行 (的结束字符索引必须 < 等于) 行的长度。

返回

Int32

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

注解

COM 签名

从 textmgr:

HRESULT IVsTextLayerMarker::ResetSpan(  
   [in] long iStartLine,  
   [in] CharIndex iStartIndex,  
   [in] long iEndLine  
);  

适用于