Partager via


BulkObservableCollection<T>.AddRange Method

Adds a list of items to the collection without firing an event for each item.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Sub AddRange ( _
    items As IEnumerable(Of T) _
)
public void AddRange(
    IEnumerable<T> items
)
public:
void AddRange(
    IEnumerable<T>^ items
)
member AddRange : 
        items:IEnumerable<'T> -> unit
public function AddRange(
    items : IEnumerable<T>
)

Parameters

  • items
    Type: IEnumerable<T>

    A list of items to add.

.NET Framework Security

See Also

Reference

BulkObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace