AsyncModelingPackage.AddToolboxItemsAsync 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.
Add the passed collection of ModelingToolboxItemBase items into the Visual Studio toolbox.
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
Parameters
An array of ModelingToolboxItem to be added.
- cancellationToken
- CancellationToken