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
- subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
- segment
Type: Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
- anchorPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint
Permissions
- 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.