IVsViewRangeClient.AdjustViewRange Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function AdjustViewRange ( _
pView As IVsTextView, _
action As TextViewAction, _
iLine As Integer, _
iCount As Integer _
) As Integer
int AdjustViewRange(
IVsTextView pView,
TextViewAction action,
int iLine,
int iCount
)
int AdjustViewRange(
[InAttribute] IVsTextView^ pView,
[InAttribute] TextViewAction action,
[InAttribute] int iLine,
[InAttribute] int iCount
)
abstract AdjustViewRange :
pView:IVsTextView *
action:TextViewAction *
iLine:int *
iCount:int -> int
function AdjustViewRange(
pView : IVsTextView,
action : TextViewAction,
iLine : int,
iCount : int
) : int
Parameters
- pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
[in]
- action
Type: Microsoft.VisualStudio.TextManager.Interop.TextViewAction
[in]
- iLine
Type: System.Int32
[in]
- iCount
Type: System.Int32
[in]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsViewRangeClient::AdjustViewRange(
[in] IVsTextView *pView,
[in] TextViewAction action,
[in] long iLine,
[in] long iCount
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.