IVsTextLayer::CreateTrackingPoint Method (Int32, Int32, IVsTextTrackingPoint^)

 

Creates a zero-length tracking point that is similar to a zero-length marker.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int CreateTrackingPoint(
	int iLine,
	int iIndex,
	[OutAttribute] IVsTextTrackingPoint^% ppMarker
)

Parameters

iLine
Type: System::Int32

[in] Line where tracking point is inserted.

iIndex
Type: System::Int32

[in] Character index within the line (must be <= length of line)

ppMarker
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextTrackingPoint^

[out] The IVsTextTrackingPoint that is inserted.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsTextLayer::CreateTrackingPoint(
   [in] long iLine,
   [in] CharIndex iIndex,
   [out] IVsTextTrackingPoint ** ppMarker
);
Return to top
Show: