IVsTextView.RestrictViewRange(Int32, Int32, IVsViewRangeClient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reduces the view’s range of visible/editable lines to a subset of the buffer’s lines.
public:
int RestrictViewRange(int iMinLine, int iMaxLine, Microsoft::VisualStudio::TextManager::Interop::IVsViewRangeClient ^ pClient);
public:
int RestrictViewRange(int iMinLine, int iMaxLine, Microsoft::VisualStudio::TextManager::Interop::IVsViewRangeClient ^ pClient);
int RestrictViewRange(int iMinLine, int iMaxLine, Microsoft::VisualStudio::TextManager::Interop::IVsViewRangeClient const & pClient);
public int RestrictViewRange (int iMinLine, int iMaxLine, Microsoft.VisualStudio.TextManager.Interop.IVsViewRangeClient pClient);
abstract member RestrictViewRange : int * int * Microsoft.VisualStudio.TextManager.Interop.IVsViewRangeClient -> int
Public Function RestrictViewRange (iMinLine As Integer, iMaxLine As Integer, pClient As IVsViewRangeClient) As Integer
Parameters
- iMinLine
- Int32
[in] The minimum line number.
- iMaxLine
- Int32
[in] The maximum line number.
- pClient
- IVsViewRangeClient
[in] The view range client.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.