Share via


IChildrenSource.GetCollectionAsync Method

Definition

Gets the collection of children nodes.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^> ^> ^ GetCollectionAsync();
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase>> GetCollectionAsync ();
abstract member GetCollectionAsync : unit -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase>>
Public Function GetCollectionAsync () As Task(Of IReadOnlyCollection(Of WorkspaceVisualNodeBase))

Returns

A task that completes when the operation is done.

Remarks

Implementations of this method should be free-threaded, i.e. callers of this method should be able to call it from any thread.

Applies to