VsTextBufferClass::CreateTextPoint Method (Int32, Int32, Object^)

 

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

Namespace:   Microsoft.VisualStudio.TextManager.Interop
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::Int32

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

Return to top
Show: