DiagramItem Constructor (ShapeElement, ShapeField, ShapeSubField, LineSegment, AnchorPoint)

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

Syntax

'宣言
Public Sub New ( _
    shape As ShapeElement, _
    field As ShapeField, _
    subfield As ShapeSubField, _
    segment As LineSegment, _
    anchorPoint As AnchorPoint _
)
'使用
Dim shape As ShapeElement
Dim field As ShapeField
Dim subfield As ShapeSubField
Dim segment As LineSegment
Dim anchorPoint As AnchorPoint

Dim instance As New DiagramItem(shape, field, _
    subfield, segment, anchorPoint)
public DiagramItem(
    ShapeElement shape,
    ShapeField field,
    ShapeSubField subfield,
    LineSegment segment,
    AnchorPoint anchorPoint
)
public:
DiagramItem(
    ShapeElement^ shape, 
    ShapeField^ field, 
    ShapeSubField^ subfield, 
    LineSegment^ segment, 
    AnchorPoint^ anchorPoint
)
public function DiagramItem(
    shape : ShapeElement, 
    field : ShapeField, 
    subfield : ShapeSubField, 
    segment : LineSegment, 
    anchorPoint : AnchorPoint
)

Parameters

Permissions

See Also

Reference

DiagramItem Class

DiagramItem Members

DiagramItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace