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 _
)
'使用
Dim shape As LinkShape
Dim segment As LineSegment
Dim instance As New DiagramItem(shape, segment)
public DiagramItem(
LinkShape shape,
LineSegment segment
)
public:
DiagramItem(
LinkShape^ shape,
LineSegment^ segment
)
public function DiagramItem(
shape : LinkShape,
segment : LineSegment
)
Parameters
- segment
Type: Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
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.