Freigeben über


DslDefinitionModelToolboxHelperBase.CreateElementToolPrototype Method

Definition

Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id. Default behavior is to create a prototype containing an instance of the domain class. Derived classes may override this to add additional information to the prototype.

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

Parameters

store
Store
domainClassId
Guid

Returns

Applies to