VsTextBufferClass.CreateEditPoint(Int32, Int32, Object) Method

Definition

Creates an EditPoint object at the given location in the text buffer.

public:
 virtual int CreateEditPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] System::Object ^ % ppEditPoint) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::CreateEditPoint;
 virtual int CreateEditPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppEditPoint);
public virtual int CreateEditPoint (int iLine, int iIndex, out object ppEditPoint);
abstract member CreateEditPoint : int * int *  -> int
override this.CreateEditPoint : int * int *  -> int
Public Overridable Function CreateEditPoint (iLine As Integer, iIndex As Integer, ByRef ppEditPoint As Object) As Integer

Parameters

iLine
Int32

[in] Line number of the EditPoint object in the text buffer.

iIndex
Int32

[in] Character index of the EditPoint object within the line.

ppEditPoint
Object

[out] Pointer to the IDispatch interface.

Returns

If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

Applies to