Freigeben über


PresentationElementTypeDescriptionProvider.CreateTypeDescriptor Method (ICustomTypeDescriptor, ModelElement)

Provides a custom type descriptor for a PresentationElement.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

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

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor

.NET Framework Security

See Also

Reference

PresentationElementTypeDescriptionProvider Class

CreateTypeDescriptor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace