IVsLiteTree.DelayRedraw Method

Indicates whether or not to redraw the tree.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function DelayRedraw ( _
    fOn As Integer _
) As Integer
int DelayRedraw(
    int fOn
)
int DelayRedraw(
    [InAttribute] int fOn
)
abstract DelayRedraw : 
        fOn:int -> int
function DelayRedraw(
    fOn : int
) : int

Parameters

  • fOn
    Type: Int32

    [in] Boolean. Set to true, prevents redrawing.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

[C++]

From vsshell.idl

HRESULT IVsLiteTree::DelayRedraw(
   [in] BOOL fOn
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace