IVsTextLines.CreateTextPoint(Int32, Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a TextPoint object at the given location in the text buffer.
public:
int CreateTextPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] System::Object ^ % ppTextPoint);
int CreateTextPoint(int iLine, int iIndex, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppTextPoint);
public int CreateTextPoint (int iLine, int iIndex, out object ppTextPoint);
abstract member CreateTextPoint : int * int * obj -> int
Public Function CreateTextPoint (iLine As Integer, iIndex As Integer, ByRef ppTextPoint As Object) As Integer
Parameters
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLines::CreateTextPoint(
[in] long iLine,
[in] CharIndex iIndex,
[out] IDispatch **ppTextPoint
);
TextPoint objects are similar to EditPoint objects, except that they operate on text displayed in a code window rather than data in the text buffer.