Share via


IUINode2.UpdateChildrenGroupAsync Method

Definition

Update the children in a children group. The UI node will attempt to make a minimal changes

public:
 System::Threading::Tasks::Task ^ UpdateChildrenGroupAsync(int groupId, System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^> ^ newCollection, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task UpdateChildrenGroupAsync (int groupId, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> newCollection, System.Threading.CancellationToken cancellationToken);
abstract member UpdateChildrenGroupAsync : int * System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateChildrenGroupAsync (groupId As Integer, newCollection As IReadOnlyCollection(Of WorkspaceVisualNodeBase), cancellationToken As CancellationToken) As Task

Parameters

groupId
Int32

group id (as returned by AddChildrenGroup)

newCollection
IReadOnlyCollection<WorkspaceVisualNodeBase>

the new list of children

cancellationToken
CancellationToken

The Cancellation Token

Returns

async progress

Applies to