次の方法で共有


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

戻り値

適用対象