Partager via


DslDefinitionModelTypeDescriptorProvider.CreateTypeDescriptor Method (ICustomTypeDescriptor, ModelElement)

Virtual method to supply our own type descriptor

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Protected Overrides Function CreateTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    element As ModelElement _
) As ElementTypeDescriptor
protected override ElementTypeDescriptor CreateTypeDescriptor(
    ICustomTypeDescriptor parent,
    ModelElement element
)
protected:
virtual ElementTypeDescriptor^ CreateTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    ModelElement^ element
) override
abstract CreateTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        element:ModelElement -> ElementTypeDescriptor  
override CreateTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        element:ModelElement -> ElementTypeDescriptor
protected override function CreateTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    element : ModelElement
) : ElementTypeDescriptor

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
DslDefinitionModelElementTypeDescriptor object

.NET Framework Security

See Also

Reference

DslDefinitionModelTypeDescriptorProvider Class

CreateTypeDescriptor Overload

Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace