CollectionExtensionsPopulateFromT Method (IListT, Array) |
Appends a collection with the values from the target Array.
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static IList<T> PopulateFrom<T>(
this IList<T> collection,
Array range
)
<ExtensionAttribute>
Public Shared Function PopulateFrom(Of T) (
collection As IList(Of T),
range As Array
) As IList(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IList<T>^ PopulateFrom(
IList<T>^ collection,
Array^ range
)
[<ExtensionAttribute>]
static member PopulateFrom :
collection : IList<'T> *
range : Array -> IList<'T>
Parameters
- collection
- Type: System.Collections.GenericIListT
The collection. - range
- Type: SystemArray
The range.
Type Parameters
- T
Return Value
Type:
IListTUsage 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