DslDefinitionModelToolboxHelperBase.CreateElementToolPrototype 方法

定义

为对应于给定域类 id 的元素工具创建 Elementgroupprototype 创建 elementgroup。默认行为是创建包含域类的实例的原型。 派生类可以重写此,以将附加信息添加到原型。

protected:
 virtual Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ CreateElementToolPrototype(Microsoft::VisualStudio::Modeling::Store ^ store, Guid domainClassId);
protected virtual Microsoft.VisualStudio.Modeling.ElementGroupPrototype CreateElementToolPrototype (Microsoft.VisualStudio.Modeling.Store store, Guid domainClassId);
abstract member CreateElementToolPrototype : Microsoft.VisualStudio.Modeling.Store * Guid -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
override this.CreateElementToolPrototype : Microsoft.VisualStudio.Modeling.Store * Guid -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Protected Overridable Function CreateElementToolPrototype (store As Store, domainClassId As Guid) As ElementGroupPrototype

参数

store
Store
domainClassId
Guid

返回

ElementGroupPrototype

适用于