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
'Usage
Dim instance As IVsLiteTree 
Dim fOn As Integer 
Dim returnValue As Integer 

returnValue = instance.DelayRedraw(fOn)
int DelayRedraw(
    int fOn
)
int DelayRedraw(
    [InAttribute] int fOn
)
function DelayRedraw(
    fOn : int
) : int

Parameters

  • fOn
    Type: System.Int32

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

Return Value

Type: System.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

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace