MiniUtilAddEntriesT, S(T, S) Method
Add multiple values to a collection at once.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static T AddEntries<T, S>(
this T col,
params S[] entries
)
where T : Object, ICollection<S>
<ExtensionAttribute>
Public Shared Function AddEntries(Of T As {Object, ICollection(Of S)}, S) (
col As T,
ParamArray entries As S()
) As T
public:
[ExtensionAttribute]
generic<typename T, typename S>
where T : Object, ICollection<S>
static T AddEntries(
T col,
... array<S>^ entries
)
[<ExtensionAttribute>]
static member AddEntries :
col : 'T *
entries : 'S[] -> 'T when 'T : Object and ICollection<'S>
- col T
- collection.
- entries S
- entries tp add.
- T
- collection type.
- S
- content type.
Tself for chaining.In Visual Basic and C#, you can call this method as an instance method on any object of type
T. 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).