Condividi tramite


DiagramItem Constructor (ShapeElement, ShapeField, ShapeSubField)

Initializes a new instance of the DiagramItem class to represent the specified ShapeSubField.

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

Syntax

'Declaration
Public Sub New ( _
    shape As ShapeElement, _
    field As ShapeField, _
    subfield As ShapeSubField _
)
public DiagramItem(
    ShapeElement shape,
    ShapeField field,
    ShapeSubField subfield
)
public:
DiagramItem(
    ShapeElement^ shape, 
    ShapeField^ field, 
    ShapeSubField^ subfield
)
new : 
        shape:ShapeElement * 
        field:ShapeField * 
        subfield:ShapeSubField -> DiagramItem
public function DiagramItem(
    shape : ShapeElement, 
    field : ShapeField, 
    subfield : ShapeSubField
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

DiagramItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace