다음을 통해 공유


AsyncModelingPackage.AddToolboxItemsAsync 메서드

정의

전달된 ModelingToolboxItemBase 항목 컬렉션을 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

매개 변수

items
IEnumerable<ModelingToolboxItemBase>

추가할 ModelingToolboxItem의 배열입니다.

cancellationToken
CancellationToken

반환

적용 대상