Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a collection of model elements to the group.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub AddRange ( _
    modelElements As IEnumerable(Of ModelElement), _
    includeLinksAutomatically As Boolean _
)
public void AddRange(
    IEnumerable<ModelElement> modelElements,
    bool includeLinksAutomatically
)
public:
void AddRange(
    IEnumerable<ModelElement^>^ modelElements, 
    bool includeLinksAutomatically
)
member AddRange : 
        modelElements:IEnumerable<ModelElement> * 
        includeLinksAutomatically:bool -> unit
public function AddRange(
    modelElements : IEnumerable<ModelElement>, 
    includeLinksAutomatically : boolean
)
Parameters
- modelElements 
 Type: System.Collections.Generic.IEnumerable<ModelElement>- Collection of elements to be added to the group. 
- includeLinksAutomatically 
 Type: System.Boolean- Flag to indicate whether to include links to elements already in the group should also be added 
.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.