Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / EntityList Class / AddRange Method / AddRange<T>(IEnumerable<T>,String,Color) Method
The collection whose entities should be added to the end of this collection.
The destination layer name
The color assigned to the entities of the collection

In This Topic
    AddRange<T>(IEnumerable<T>,String,Color) Method
    In This Topic
    Adds the entities of the specified collection to the end of this collection using the specified layer.
    Syntax
    'Declaration
     
    Public Overloads Sub AddRange(Of T As Entity)( _
       ByVal collection As IEnumerable(Of T), _
       ByVal layerName As String, _
       ByVal color As Color _
    ) 
    public void AddRange<T>( 
       IEnumerable<T> collection,
       string layerName,
       Color color
    )
    where T: Entity

    Parameters

    collection
    The collection whose entities should be added to the end of this collection.
    layerName
    The destination layer name
    color
    The color assigned to the entities of the collection

    Type Parameters

    T
    See Also