DslDefinitionModelToolboxHelperBase.CreateElementToolPrototype Method
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.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Protected Overridable Function CreateElementToolPrototype ( _
store As Store, _
domainClassId As Guid _
) As ElementGroupPrototype
protected virtual ElementGroupPrototype CreateElementToolPrototype(
Store store,
Guid domainClassId
)
protected:
virtual ElementGroupPrototype^ CreateElementToolPrototype(
Store^ store,
Guid domainClassId
)
abstract CreateElementToolPrototype :
store:Store *
domainClassId:Guid -> ElementGroupPrototype
override CreateElementToolPrototype :
store:Store *
domainClassId:Guid -> ElementGroupPrototype
protected function CreateElementToolPrototype(
store : Store,
domainClassId : Guid
) : ElementGroupPrototype
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
- domainClassId
Type: Guid
Return Value
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.