ListExtensionsAddRangeT Method |
Adds a set of items to a list.
Namespace: Bio.ExtensionsAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static void AddRange<T>(
this IList<T> list,
IEnumerable<T> newItems
)
<ExtensionAttribute>
Public Shared Sub AddRange(Of T) (
list As IList(Of T),
newItems As IEnumerable(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void AddRange(
IList<T>^ list,
IEnumerable<T>^ newItems
)
[<ExtensionAttribute>]
static member AddRange :
list : IList<'T> *
newItems : IEnumerable<'T> -> unit
Parameters
- list
- Type: System.Collections.GenericIListT
[Missing <param name="list"/> documentation for "M:Bio.Extensions.ListExtensions.AddRange``1(System.Collections.Generic.IList{``0},System.Collections.Generic.IEnumerable{``0})"]
- newItems
- Type: System.Collections.GenericIEnumerableT
[Missing <param name="newItems"/> documentation for "M:Bio.Extensions.ListExtensions.AddRange``1(System.Collections.Generic.IList{``0},System.Collections.Generic.IEnumerable{``0})"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Bio.Extensions.ListExtensions.AddRange``1(System.Collections.Generic.IList{``0},System.Collections.Generic.IEnumerable{``0})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also