IListExtensionsAddRangeT Method |
Appends one list to the end of the other.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void AddRange<T>(
this IList<T> list,
IEnumerable<T> range
)
<ExtensionAttribute>
Public Shared Sub AddRange(Of T) (
list As IList(Of T),
range As IEnumerable(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void AddRange(
IList<T>^ list,
IEnumerable<T>^ range
)
[<ExtensionAttribute>]
static member AddRange :
list : IList<'T> *
range : IEnumerable<'T> -> unit
Parameters
- list
- Type: System.Collections.GenericIListT
- range
- Type: System.Collections.GenericIEnumerableT
Type Parameters
- T
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