findFieldsByExtension method

FieldList findFieldsByExtension(
  1. FieldExtensionType fieldExtensionType
)

Finds fields by extension type.

param fieldExtensionType The field extension type. return The list of fields with the extension. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

FieldList findFieldsByExtension(FieldExtensionType fieldExtensionType) {
  FieldList resultFieldList = FieldList();
  var err = biosealSDK.id3Bioseal_FindFieldsByExtension(_pHandle.value, fieldExtensionType.value, resultFieldList.handle);
  if (err != BiosealError.success.value) {
    resultFieldList.dispose();
    throw BiosealException(err);
  }
  return resultFieldList;
}