ExtensionsAddRangeT Method |
Namespace: ConnectedAppsAssembly: ConnectedApps.Cms (in ConnectedApps.Cms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void AddRange<T>(
this ICollection<T> destination,
IEnumerable<T> source
)
<ExtensionAttribute>
Public Shared Sub AddRange(Of T) (
destination As ICollection(Of T),
source As IEnumerable(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void AddRange(
ICollection<T>^ destination,
IEnumerable<T>^ source
)
[<ExtensionAttribute>]
static member AddRange :
destination : ICollection<'T> *
source : IEnumerable<'T> -> unit
Parameters
- destination
- Type: System.Collections.GenericICollectionT
- source
- 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
ICollectionT. 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