DiagramItem 建構函式 (ShapeElement, ShapeField)

初始化新的執行個體來表示指定的 ShapeField 的 DiagramItem 類別。

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

語法

'宣告
Public Sub New ( _
    shape As ShapeElement, _
    field As ShapeField _
)
public DiagramItem(
    ShapeElement shape,
    ShapeField field
)

參數

.NET Framework 安全性

請參閱

參考

DiagramItem 類別

DiagramItem 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間