Freigeben über


VsTextBufferClass.CreateTextPoint Method

Creates a TextPoint object at the given location in the text buffer.

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

Syntax

'Declaration
Public Overridable Function CreateTextPoint ( _
    iLine As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef ppTextPoint As Object _
) As Integer
'Usage
Dim instance As VsTextBufferClass
Dim iLine As Integer
Dim iIndex As Integer
Dim ppTextPoint As Object
Dim returnValue As Integer

returnValue = instance.CreateTextPoint(iLine, _
    iIndex, ppTextPoint)
public virtual int CreateTextPoint(
    int iLine,
    int iIndex,
    out Object ppTextPoint
)
public:
virtual int CreateTextPoint(
    [InAttribute] int iLine, 
    [InAttribute] int iIndex, 
    [OutAttribute] Object^% ppTextPoint
)
abstract CreateTextPoint : 
        iLine:int * 
        iIndex:int * 
        ppTextPoint:Object byref -> int 
override CreateTextPoint : 
        iLine:int * 
        iIndex:int * 
        ppTextPoint:Object byref -> int 
public function CreateTextPoint(
    iLine : int, 
    iIndex : int, 
    ppTextPoint : Object
) : int

Parameters

  • iIndex
    Type: System.Int32
    [in] Specified index position within the line to create the TextPoint object.

Return Value

Type: System.Int32

Implements

IVsTextLines.CreateTextPoint(Int32, Int32, Object%)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

VsTextBufferClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace