共用方式為


AsyncModelingPackage.SetupDynamicToolboxAsync(CancellationToken) 方法

定義

加入動態/自定義工具箱專案。

protected:
 virtual System::Threading::Tasks::Task ^ SetupDynamicToolboxAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task SetupDynamicToolboxAsync (System.Threading.CancellationToken cancellationToken);
abstract member SetupDynamicToolboxAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetupDynamicToolboxAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function SetupDynamicToolboxAsync (cancellationToken As CancellationToken) As Task

參數

cancellationToken
CancellationToken

傳回

備註

叫用 CreateToolboxItem,然後針對每個專案將它新增至工具箱。

適用於