GetRecord() public method

Get a record.
public GetRecord ( long index, IMLDataPair pair ) : void
index long The index.
pair IMLDataPair The record.
return void
 /// <summary>
 /// Move to the next record.
 /// </summary>
 /// <returns>True, if we were able to move to the next record.</returns>
 public bool MoveNext()
 {
     if (HasNext())
     {
         IMLDataPair pair = BasicMLDataPair.CreatePair(
             _owner.InputSize, _owner.IdealSize);
         _owner.GetRecord(_currentIndex++, pair);
         _currentPair = pair;
         return(true);
     }
     _currentPair = null;
     return(false);
 }