共用方式為


DslDefinitionModelToolboxHelperBase.CreateElementToolPrototype 方法

建立對應至指定網域類別 ID 之項目工具的 ElementGroupPrototype。 預設行為是建立包含網域類別執行個體的原型。 衍生類別可以覆寫此項以將其他資訊加入至原型。

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

語法

'宣告
Protected Overridable Function CreateElementToolPrototype ( _
    store As Store, _
    domainClassId As Guid _
) As ElementGroupPrototype
protected virtual ElementGroupPrototype CreateElementToolPrototype(
    Store store,
    Guid domainClassId
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype

.NET Framework 安全性

請參閱

參考

DslDefinitionModelToolboxHelperBase 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間