DiagramItem.SetItem Yöntem (LinkShape, LineSegment, AnchorPoint)
Belirtilen LineSegment'ın bağlantı noktasını temsil etmek için DiagramItem ayarlama
Ad alanı: Microsoft.VisualStudio.Modeling.Diagrams
Derleme: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)
Sözdizimi
'Bildirim
Public Sub SetItem ( _
shape As LinkShape, _
segment As LineSegment, _
anchorPoint As AnchorPoint _
)
public void SetItem(
LinkShape shape,
LineSegment segment,
AnchorPoint anchorPoint
)
Parametreler
- shape
Tür: Microsoft.VisualStudio.Modeling.Diagrams.LinkShape
Üst LineSegment ShapeElement.Null olamaz.
- segment
Tür: Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
Bu DiagramItem göstermektir LineSegment.
- anchorPoint
Tür: Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint
Çizgi parçası üzerindeki bağlantı noktası
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.