IVsTextLayer.CreateTrackingPoint Method
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)
Syntax
'Déclaration
Function CreateTrackingPoint ( _
iLine As Integer, _
iIndex As Integer, _
<OutAttribute> ByRef ppMarker As IVsTextTrackingPoint _
) As Integer
int CreateTrackingPoint(
int iLine,
int iIndex,
out IVsTextTrackingPoint ppMarker
)
int CreateTrackingPoint(
[InAttribute] int iLine,
[InAttribute] int iIndex,
[OutAttribute] IVsTextTrackingPoint^% ppMarker
)
abstract CreateTrackingPoint :
iLine:int *
iIndex:int *
ppMarker:IVsTextTrackingPoint byref -> int
function CreateTrackingPoint(
iLine : int,
iIndex : int,
ppMarker : IVsTextTrackingPoint
) : int
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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayer::CreateTrackingPoint(
[in] long iLine,
[in] CharIndex iIndex,
[out] IVsTextTrackingPoint ** ppMarker
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.