EntityList.AddRange<T> (IEnumerable<T>, Int32) Method

NOTE: This member is now obsolete. Use the method that accepts the layer name instead.

Adds the entities of the specified collection to the end of this collection using the specified layer.
Public Sub AddRange(Of  _ 
T As Entity)( _ 
ByVal collection As IEnumerable(Of T), _ 
ByVal layerIndex As Integer
)
This language is not supported or no code example is available.
public void AddRange<T>( 
IEnumerable<T> collection
int layerIndex 

where T : Entity
This language is not supported or no code example is available.

Type Parameters

T

Parameters

collection
IEnumerable<T>

The collection whose entities should be added to the end of this collection.

layerIndex
int

The destination layer index

Remarks
 
This method can be used only if the collection belong to a Environment.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition