# getObjectAtIndex method

Field getObjectAtIndex(

1. int index

)

Gets the object at the specified index.

param index The index of the object to retrieve. return The field that contains the object. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    Field getObjectAtIndex(int index) {
      Field item = Field();
      var err = biosealSDK.id3BiosealField_GetObjectAtIndex(_pHandle.value, index, item.handle);
      if (err != BiosealError.success.value) {
        item.dispose();
        throw BiosealException(err);
      }
      return item;
    }