ElementGroup.AddRange Method (IEnumerable<ModelElement>)
Adds a collection of model elements to the group. Any links to elements already in the group will also be added.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Sub AddRange ( _
modelElements As IEnumerable(Of ModelElement) _
)
public void AddRange(
IEnumerable<ModelElement> modelElements
)
public:
void AddRange(
IEnumerable<ModelElement^>^ modelElements
)
member AddRange :
modelElements:IEnumerable<ModelElement> -> unit
public function AddRange(
modelElements : IEnumerable<ModelElement>
)
Parameters
- modelElements
Type: System.Collections.Generic.IEnumerable<ModelElement>
.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.