IVsLiteTree.SetRedraw Method

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

‘선언
Function SetRedraw ( _
    fOn As Integer _
) As Integer
‘사용 방법
Dim instance As IVsLiteTree
Dim fOn As Integer
Dim returnValue As Integer

returnValue = instance.SetRedraw(fOn)
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

See Also

Reference

IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace