次の方法で共有


DiagramItem Constructor (ShapeElement)

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

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

Syntax

'宣言
Public Sub New ( _
    shape As ShapeElement _
)
public DiagramItem(
    ShapeElement shape
)
public:
DiagramItem(
    ShapeElement^ shape
)
new : 
        shape:ShapeElement -> DiagramItem
public function DiagramItem(
    shape : ShapeElement
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

DiagramItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace