Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the DiagramItem class to represent the specified ShapeSubField.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
shape As ShapeElement, _
field As ShapeField, _
subfield As ShapeSubField, _
segment As LineSegment, _
anchorPoint As 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
)
new :
shape:ShapeElement *
field:ShapeField *
subfield:ShapeSubField *
segment:LineSegment *
anchorPoint:AnchorPoint -> DiagramItem
public function DiagramItem(
shape : ShapeElement,
field : ShapeField,
subfield : ShapeSubField,
segment : LineSegment,
anchorPoint : AnchorPoint
)
Parameters
shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent ShapeElement of the ShapeSubField. This cannot be null.
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe parent ShapeField of the ShapeSubField. This cannot be null.
subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubFieldThe ShapeSubField that this DiagramItem is to represent.
segment
Type: Microsoft.VisualStudio.Modeling.Diagrams.LineSegmentThe LineSegment that this DiagramItem is to represent.
anchorPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchorPointThe LineSegment's Anchor Point that this DiagramItem is to represent
.NET Framework Security
- 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.