Share this page

# getComponent

Gets the component associated with the given field number.

`public ISOComponent getComponent(LrISOField fldno) throws LrISOException`

`public ISOComponent getComponent(int fldno) throws LrISOException`

## Parameters

- fldno: The ISOField number.

## Return values

This function returns the ISOComponent at the defined field number.

## Example

Copy code

    LrISOMsg m = new LrISOMsg();
    m.set(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER, "1234567891234567890");
    ISOComponent PAN = m.getComponent(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: