Freigeben über


IVsTextLayer.CreateTrackingPoint(Int32, Int32, IVsTextTrackingPoint) Method

Definition

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  
);  

Applies to