ElementGroup.Add Method (ModelElement)
Adds an element to the group. Any links to elements already in the group will also be added.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Sub Add ( _
element As ModelElement _
)
public void Add(
ModelElement element
)
public:
void Add(
ModelElement^ element
)
member Add :
element:ModelElement -> unit
public function Add(
element : ModelElement
)
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element to add to the group
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.