IVsTextStream.CreateTextPoint(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 iPosition, [Runtime::InteropServices::Out] System::Object ^ % ppTextPoint);
int CreateTextPoint(int iPosition, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppTextPoint);
public int CreateTextPoint (int iPosition, out object ppTextPoint);
abstract member CreateTextPoint : int * obj -> int
Public Function CreateTextPoint (iPosition 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 IVsTextStream::CreateTextPoint(
[in] long iPosition,
[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.