共用方式為


DiagramItem Constructor

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DiagramItem() Initializes a new instance of the DiagramItem class.
Public method DiagramItem(ShapeElement) Initializes a new instance of the DiagramItem class to represent the specified ShapeElement.
Public method DiagramItem(LinkShape, LineSegment) Initializes a new instance of the DiagramItem class to represent the specified LineSegment.
Public method DiagramItem(ShapeElement, ShapeField) Initializes a new instance of the DiagramItem class to represent the specified ShapeField.
Public method DiagramItem(LinkShape, LineSegment, AnchorPoint) Initializes a new instance of the DiagramItem class to represent the specified AnchorPoint.
Public method DiagramItem(ShapeElement, ShapeField, ShapeSubField) Initializes a new instance of the DiagramItem class to represent the specified ShapeSubField.
Public method DiagramItem(ShapeElement, ShapeField, ShapeSubField, LineSegment, AnchorPoint) Initializes a new instance of the DiagramItem class to represent the specified ShapeSubField.

Top

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace