ITextVersion.CreateTrackingPoint Method (Int32, PointTrackingMode)
Creates a ITrackingPoint in this version.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
‘선언
Function CreateTrackingPoint ( _
position As Integer, _
trackingMode As PointTrackingMode _
) As ITrackingPoint
ITrackingPoint CreateTrackingPoint(
int position,
PointTrackingMode trackingMode
)
ITrackingPoint^ CreateTrackingPoint(
int position,
PointTrackingMode trackingMode
)
abstract CreateTrackingPoint :
position:int *
trackingMode:PointTrackingMode -> ITrackingPoint
function CreateTrackingPoint(
position : int,
trackingMode : PointTrackingMode
) : ITrackingPoint
Parameters
- position
Type: System.Int32
The position of the point.
- trackingMode
Type: Microsoft.VisualStudio.Text.PointTrackingMode
The tracking mode of the point.
Return Value
Type: Microsoft.VisualStudio.Text.ITrackingPoint
A non-null ITrackingPoint.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | position is less than zero or greater than the length of this version. |
.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.