IVsTextStreamMarker::GetCurrentSpan Method (Int32, Int32)
Visual Studio 2015
Returns current position information of the marker in the text stream.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- piPos
-
Type:
System::Int32
[out] Position of the text marker.
- piLen
-
Type:
System::Int32
[out] Length of the text marker.
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::GetCurrentSpan( [out] long *piPos, [out] long *piLen );
Use this method to determine the current extent and position of the text marker.
Show: