VsTextViewClass::GetTextStream Method (Int32, Int32, Int32, Int32, String^)
Visual Studio 2015
Returns a specified stream of text in a string.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int GetTextStream( int iTopLine, int iTopCol, int iBottomLine, int iBottomCol, [OutAttribute] String^% pbstrText )
Parameters
- iTopLine
-
Type:
System::Int32
[in] Top line index defining the text stream.
- iTopCol
-
Type:
System::Int32
[in]Top line column defining the text stream. Viewcol coordinates may include virtual space.
- iBottomLine
-
Type:
System::Int32
[in] Bottom line index defining the text stream.
- iBottomCol
-
Type:
System::Int32
[in] Bottom line column defining the text stream. Viewcol coordinates may include virtual space.
- pbstrText
-
Type:
System::String^
[out] Pointer to a string containing the text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: