Aracılığıyla paylaş


AsyncModelingPackage.AddToolboxItemsAsync Yöntem

Tanım

Geçirilen ModelingToolboxItemBase öğelerinin koleksiyonunu Visual Studio araç kutusuna ekleyin.

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

Parametreler

items
IEnumerable<ModelingToolboxItemBase>

Eklenecek ModelingToolboxItem dizisi.

cancellationToken
CancellationToken

Döndürülenler

Şunlara uygulanır