Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetBoolean()

override bool System.Data.DataTableReader.GetBoolean ( int ordinal)
inline

Implements System.Data.IDataRecord.

Definition at line 319 of file DataTableReader.cs.

320 {
321 ValidateState("GetBoolean");
323 try
324 {
325 return (bool)_currentDataRow[ordinal];
326 }
327 catch (IndexOutOfRangeException e)
328 {
329 ExceptionBuilder.TraceExceptionWithoutRethrow(e);
330 throw ExceptionBuilder.ArgumentOutOfRange("ordinal");
331 }
332 }
void ValidateState(string caller)

References System.Data.DataTableReader._currentDataRow, System.Data.ExceptionBuilder.ArgumentOutOfRange(), System.Data.ExceptionBuilder.TraceExceptionWithoutRethrow(), System.Data.DataTableReader.ValidateReader(), and System.Data.DataTableReader.ValidateState().