DiagramItem.SetItem 方法 (LinkShape, LineSegment)

設定來表示指定的 LineSegment DiagramItem

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Sub SetItem ( _
    shape As LinkShape, _
    segment As LineSegment _
)
public void SetItem(
    LinkShape shape,
    LineSegment segment
)

參數

.NET Framework 安全性

請參閱

參考

DiagramItem 類別

SetItem 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間