IChildrenSource.GetCollectionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.