get method

DateTime get(
  1. int index
)

Gets an item of the DateTimeArray object.

param index Index of the DateTime item to get. return DateTime item to get. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

DateTime get(int index) {
  DateTime dateTimeItem = DateTime();
  var err = biosealSDK.id3BiosealDateTimeArray_Get(_pHandle.value, index, dateTimeItem.handle);
  if (err != BiosealError.success.value) {
    dateTimeItem.dispose();
    throw BiosealException(err);
  }
  return dateTimeItem;
}