Partager via


VsTextBufferClass.CreateEditPoint Method

Creates an EditPoint 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 CreateEditPoint ( _
    iLine As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef ppEditPoint As Object _
) As Integer
public virtual int CreateEditPoint(
    int iLine,
    int iIndex,
    out Object ppEditPoint
)
public:
virtual int CreateEditPoint(
    [InAttribute] int iLine, 
    [InAttribute] int iIndex, 
    [OutAttribute] Object^% ppEditPoint
)
abstract CreateEditPoint : 
        iLine:int * 
        iIndex:int * 
        ppEditPoint:Object byref -> int  
override CreateEditPoint : 
        iLine:int * 
        iIndex:int * 
        ppEditPoint:Object byref -> int
public function CreateEditPoint(
    iLine : int, 
    iIndex : int, 
    ppEditPoint : Object
) : int

Parameters

  • ppEditPoint
    Type: System.Object%

    [out] Pointer to the IDispatch interface.

Return Value

Type: System.Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

IVsTextLines.CreateEditPoint(Int32, Int32, Object%)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace