DiagramTypeDescriptor Constructor (ICustomTypeDescriptor, Diagram)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
parent As ICustomTypeDescriptor, _
element As Diagram _
)
public DiagramTypeDescriptor(
ICustomTypeDescriptor parent,
Diagram element
)
public:
DiagramTypeDescriptor(
ICustomTypeDescriptor^ parent,
Diagram^ element
)
new :
parent:ICustomTypeDescriptor *
element:Diagram -> DiagramTypeDescriptor
public function DiagramTypeDescriptor(
parent : ICustomTypeDescriptor,
element : Diagram
)
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- element
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
.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.