get method

HologramAuthenticationResult get(
  1. int index
)

Gets an item of the HologramAuthenticationResultList object.

param index Index of the HologramAuthenticationResult item to get. return HologramAuthenticationResult item to get. throws DocumentException An error has occurred during Document Library execution.

Implementation

HologramAuthenticationResult get(int index) {
  HologramAuthenticationResult hologramAuthenticationResultItem = HologramAuthenticationResult();
  var err = documentSDK.id3DocumentHologramAuthenticationResultList_Get(_pHandle.value, index, hologramAuthenticationResultItem.handle);
  if (err != DocumentError.success.value) {
    hologramAuthenticationResultItem.dispose();
    throw DocumentException(err);
  }
  return hologramAuthenticationResultItem;
}