FillCollection fills a Collection of objects from a DataReader
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static IList<TItem> FillCollection<TItem>( IDataReader dr, ref IList<TItem> objToFill ) |
Visual Basic |
---|
Public Shared Function FillCollection(Of TItem) ( dr As IDataReader, ByRef objToFill As IList(Of TItem) ) As IList(Of TItem) |
Parameters
- dr
- Type: System.Data..::..IDataReader
The Data Reader
- objToFill
- Type: System.Collections.Generic..::..IList<(Of <(<'TItem>)>)>%
The List to fill
Type Parameters
- TItem
- The type of object