Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub New ( _
shape As LinkShape, _
segment As LineSegment, _
anchorPoint As AnchorPoint _
)
'使用
Dim shape As LinkShape
Dim segment As LineSegment
Dim anchorPoint As AnchorPoint
Dim instance As New DiagramItem(shape, segment, _
anchorPoint)
public DiagramItem(
LinkShape shape,
LineSegment segment,
AnchorPoint anchorPoint
)
public:
DiagramItem(
LinkShape^ shape,
LineSegment^ segment,
AnchorPoint^ anchorPoint
)
public function DiagramItem(
shape : LinkShape,
segment : LineSegment,
anchorPoint : AnchorPoint
)
Parameters
- 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.