Share via


WorkspaceVisualNodeBase.RefreshChildrenAsync Method

Definition

Overloads

RefreshChildrenAsync(Boolean, CancellationToken)

Initiate children refresh (can be async)

RefreshChildrenAsync(Boolean)

Initiate children refresh (can be async)

RefreshChildrenAsync(Boolean, CancellationToken)

Initiate children refresh (can be async)

public:
 System::Threading::Tasks::Task ^ RefreshChildrenAsync(bool recursive, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task RefreshChildrenAsync (bool recursive, System.Threading.CancellationToken cancellationToken);
member this.RefreshChildrenAsync : bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RefreshChildrenAsync (recursive As Boolean, cancellationToken As CancellationToken) As Task

Parameters

recursive
Boolean

true to trigger refresh on the children items as well (if they are being expanded already)

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that completes when the operation is done.

Applies to

RefreshChildrenAsync(Boolean)

Initiate children refresh (can be async)

public System.Threading.Tasks.Task RefreshChildrenAsync (bool recursive = false);
member this.RefreshChildrenAsync : bool -> System.Threading.Tasks.Task
Public Function RefreshChildrenAsync (Optional recursive As Boolean = false) As Task

Parameters

recursive
Boolean

true to trigger refresh on the children items as well (if they are being expanded already)

Returns

A task that completes when the operation is done.

Applies to