Share via


DiagramTypeDescriptor Constructor (ICustomTypeDescriptor, PresentationElement, ModelElement)

Note: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Diagram) constructor instead.",  _
    True)> _
Public Sub New ( _
    parent As ICustomTypeDescriptor, _
    presentationElement As PresentationElement, _
    element As ModelElement _
)
[ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Diagram) constructor instead.", 
    true)]
public DiagramTypeDescriptor(
    ICustomTypeDescriptor parent,
    PresentationElement presentationElement,
    ModelElement element
)
[ObsoleteAttribute(L"This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Diagram) constructor instead.", 
    true)]
public:
DiagramTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    PresentationElement^ presentationElement, 
    ModelElement^ element
)
[<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Diagram) constructor instead.", 
    true)>]
new : 
        parent:ICustomTypeDescriptor * 
        presentationElement:PresentationElement * 
        element:ModelElement -> DiagramTypeDescriptor
public function DiagramTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    presentationElement : PresentationElement, 
    element : ModelElement
)

Parameters

  • parent
    Type: ICustomTypeDescriptor

.NET Framework Security

See Also

Reference

DiagramTypeDescriptor Class

DiagramTypeDescriptor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace