VsTextViewClass.GetTextStream(Int32, Int32, Int32, Int32, String) Method

Definition

Returns a specified stream of text in a string.

C++/WinRT
 virtual int GetTextStream(int iTopLine, int iTopCol, int iBottomLine, int iBottomCol, [Runtime::InteropServices::Out] std::wstring const & & pbstrText);

Parameters

iTopLine
Int32

[in] Top line index defining the text stream.

iTopCol
Int32

[in]Top line column defining the text stream. Viewcol coordinates may include virtual space.

iBottomLine
Int32

[in] Bottom line index defining the text stream.

iBottomCol
Int32

[in] Bottom line column defining the text stream. Viewcol coordinates may include virtual space.

pbstrText
String

[out] Pointer to a string containing the text.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022