public ToRecordArray ( |
||
recordType | array element type | |
return |
public Array ToRecordArray(Type recordType)
{
object[] records = (object[])Array.CreateInstance(recordType, _hits.Count);
for (int i=0; i<records.Length; ++i)
{
records[i] = ((SearchHit)_hits[i]).Record;
}
return records;
}
SearchResult::ToRecordArray ( ) : |