IVsViewRangeClient::AdjustViewRange Method (IVsTextView^, TextViewAction, Int32, Int32)
Visual Studio 2015
Adjust the view range as specified.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pView
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextView^
[in] The text view.
- action
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextViewAction
[in] The text view action.
- iLine
-
Type:
System::Int32
[in] The line number of the range.
- iCount
-
Type:
System::Int32
[in] The character count of the range.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsViewRangeClient::AdjustViewRange( [in] IVsTextView *pView, [in] TextViewAction action, [in] long iLine, [in] long iCount );
Show: