IVsTextLayer.CreateTrackingPoint(Int32, Int32, IVsTextTrackingPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a zero-length tracking point that is similar to a zero-length marker.
public:
int CreateTrackingPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextTrackingPoint ^ % ppMarker);
public:
int CreateTrackingPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextTrackingPoint ^ & ppMarker);
int CreateTrackingPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextTrackingPoint const & & ppMarker);
public int CreateTrackingPoint (int iLine, int iIndex, out Microsoft.VisualStudio.TextManager.Interop.IVsTextTrackingPoint ppMarker);
abstract member CreateTrackingPoint : int * int * IVsTextTrackingPoint -> int
Public Function CreateTrackingPoint (iLine As Integer, iIndex As Integer, ByRef ppMarker As IVsTextTrackingPoint) As Integer
Parameters
- iLine
- Int32
[in] Line where tracking point is inserted.
- iIndex
- Int32
[in] Character index within the line (must be <= length of line)
- ppMarker
- IVsTextTrackingPoint
[out] The IVsTextTrackingPoint that is inserted.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayer::CreateTrackingPoint(
[in] long iLine,
[in] CharIndex iIndex,
[out] IVsTextTrackingPoint ** ppMarker
);