IVsTextStreamMarker::ResetSpan Method (Int32, Int32)
Visual Studio 2015
Resets the position and extent of the text marker.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iNewPos
-
Type:
System::Int32
[in] New position for the text marker in the text stream.
- iNewLen
-
Type:
System::Int32
[in] New length of the text marker in the text stream.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextStreamMarker::ResetSpan( [in] long iNewPos, [in] long iNewLen );
Use this method to change to extent and location of a text marker.
Show: