Partager via


AsyncModelingPackage.AddToolboxItemsAsync Méthode

Définition

Ajoute la collection passée d'éléments de ModelingToolboxItemBase dans la boîte à outils de Visual Studio.

protected:
 System::Threading::Tasks::Task ^ AddToolboxItemsAsync(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::Design::ModelingToolboxItemBase ^> ^ items, System::Threading::CancellationToken cancellationToken);
protected System.Threading.Tasks.Task AddToolboxItemsAsync (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase> items, System.Threading.CancellationToken cancellationToken);
member this.AddToolboxItemsAsync : seq<Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Function AddToolboxItemsAsync (items As IEnumerable(Of ModelingToolboxItemBase), cancellationToken As CancellationToken) As Task

Paramètres

items
IEnumerable<ModelingToolboxItemBase>

Tableau de ModelingToolboxItem à ajouter.

cancellationToken
CancellationToken

Retours

S’applique à