IChildrenSource.GetCollectionAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la collection de nœuds enfants.
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))
Retours
Tâche qui se termine lorsque l’opération est terminée.
Remarques
Les implémentations de cette méthode doivent être libres de threads. par exemple, les appelants de cette méthode doivent être en mesure de l’appeler à partir de n’importe quel thread.