다음을 통해 공유


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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

Return Value

Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype

.NET Framework Security

See Also

Reference

DslDefinitionModelToolboxHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace