Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Set or reset redrawing of the tree list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetRedraw ( _
fOn As Integer _
) As Integer
int SetRedraw(
int fOn
)
int SetRedraw(
[InAttribute] int fOn
)
abstract SetRedraw :
fOn:int -> int
function SetRedraw(
fOn : int
) : int
Parameters
- fOn
Type: System.Int32
[In] Boolean. Use true to turn on redrawing; use false to turn off redrawing.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Redrawing depends on the reference count and is done only when the reference is zero (0).
COM Signature
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::SetRedraw(
[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.