共用方式為


ElementGroup.Add 方法 (ModelElement)

將元素加入至群組。 也會將已在群組中之項目的任何連結加入。

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

語法

'宣告
Public Sub Add ( _
    element As ModelElement _
)
public void Add(
    ModelElement element
)

參數

.NET Framework 安全性

請參閱

參考

ElementGroup 類別

Add 多載

Microsoft.VisualStudio.Modeling 命名空間