Udostępnij za pośrednictwem


VsTextBufferClass.CreateTextPoint(Int32, Int32, Object) Method

Definition

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

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

Parameters

iLine
Int32

[in] Specified line to create the TextPoint object.

iIndex
Int32

[in] Specified index position within the line to create the TextPoint object.

ppTextPoint
Object

[out] Pointer to the TextPoint object created.

Returns

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

Implements

Applies to