共用方式為


DiagramItemCollection.Add 方法 (ICollection)

將 ICollection 的 DiagramItem 加入至 DiagramItemCollection 的結尾

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

語法

'宣告
Public Overridable Sub Add ( _
    diagramItemsToAdd As ICollection _
)
public virtual void Add(
    ICollection diagramItemsToAdd
)

參數

.NET Framework 安全性

請參閱

參考

DiagramItemCollection 類別

Add 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間