IVsLiteTreeEvents.OnSetRedraw Method
Turns redraw on/off.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnSetRedraw ( _
fOn As Integer _
) As Integer
'Usage
Dim instance As IVsLiteTreeEvents
Dim fOn As Integer
Dim returnValue As Integer
returnValue = instance.OnSetRedraw(fOn)
int OnSetRedraw(
int fOn
)
int OnSetRedraw(
[InAttribute] int fOn
)
abstract OnSetRedraw :
fOn:int -> int
function OnSetRedraw(
fOn : int
) : int
Parameters
- fOn
Type: System.Int32
[In] Boolean input parameter set to TRUE when Redraw is set to ON and set to FALSE if redraw is set to OFF.
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 vsshell.idl:
HRESULT IVsLiteTreeEvents::OnSetRedraw(
[in] BOOL fOn
);
.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.