Compartir a través de


ITrackingPoint.GetPosition Method (ITextVersion)

Gets the position of the tracking point in the specified ITextVersion.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Function GetPosition ( _
    version As ITextVersion _
) As Integer
int GetPosition(
    ITextVersion version
)
int GetPosition(
    ITextVersion^ version
)
abstract GetPosition : 
        version:ITextVersion -> int
function GetPosition(
    version : ITextVersion
) : int

Parameters

Return Value

Type: Int32
A position in the given version.

Exceptions

Exception Condition
ArgumentNullException

version is nulla null reference (Nothing in Visual Basic).

ArgumentException

version is not a version of TextBuffer.

.NET Framework Security

See Also

Reference

ITrackingPoint Interface

GetPosition Overload

Microsoft.VisualStudio.Text Namespace