共用方式為


ModelingPackage.CreateToolboxItems 方法

建立工具箱中的項目。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

語法

'宣告
Protected Overridable Function CreateToolboxItems As IList(Of ModelingToolboxItem)
protected virtual IList<ModelingToolboxItem> CreateToolboxItems()

傳回值

類型:System.Collections.Generic.IList<ModelingToolboxItem>
Domain-Specific Language Designer 套件中可用的工具箱項目清單。

備註

衍生類別可以提供 [工具箱] 的其他項目。

.NET Framework 安全性

請參閱

參考

ModelingPackage 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間