IVsTextView::RestrictViewRange Method (Int32, Int32, IVsViewRangeClient^)
Visual Studio 2015
Reduces the view’s range of visible/editable lines to a subset of the buffer’s lines.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iMinLine
-
Type:
System::Int32
[in] The minimum line number.
- iMaxLine
-
Type:
System::Int32
[in] The maximum line number.
- pClient
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsViewRangeClient^
[in] The view range client.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: