Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- 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.