VsTextBufferClass::CreateTextPoint Method (Int32, Int32, Object^)
Visual Studio 2015
Creates a TextPoint object at the given location in the text buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int CreateTextPoint( int iLine, int iIndex, [OutAttribute] Object^% ppTextPoint )
Parameters
- iLine
-
Type:
System::Int32
[in] Specified line to create the TextPoint object.
- iIndex
-
Type:
System::Int32
[in] Specified index position within the line to create the TextPoint object.
- ppTextPoint
-
Type:
System::Object^
[out] Pointer to the TextPoint object created.
Return Value
Type: System::Int32If the method succeeds, returns S_OK; otherwise, returns an error code.
Show: