Udostępnij za pośrednictwem


IVsTextLayerMarker.ResetSpan(Int32, Int32, Int32, Int32) Method

Definition

Resets marker position.

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

Parameters

iStartLine
Int32

[in] Starting line.

iStartIndex
Int32

[in] Starting character index within the line (must be <= length of line).

iEndLine
Int32

[in] Ending line.

iEndIndex
Int32

[in] Ending character index within the line (must be <= length of line).

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

Applies to