AsyncModelingPackage.SetupDynamicToolboxAsync(CancellationToken) Method

Definition

Adds the dynamic/custom toolbox items.

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

Parameters

cancellationToken
CancellationToken

Returns

Remarks

Invokes CreateToolboxItem and then for each one of the items adds it to the toolbox.

Applies to