# classname_fieldname_search

This function searches for matching sequence elements within a specified range.

### Prototype

>         MCO_RET	classname_fieldname_search(	/*IN*/ classname *handle,
>                                 mco_seq_iterator_h iterator,
>                                  TYPE low,
>                                 mco_seq_boundary_kind_t low_boundary,
>                                  TYPE high,
>                                 mco_seq_boundary_kind_t high_boundary);

### Arguments

handle | A pointer to a classname handle
iterator | The sequence iterator containing the result sequence
low | The lower bound for the search
low_boundary | The boundary type of the lower bound
high | The upper bound for the search
high_boundary | The boundary type of the upper bound

### Description

This function applies to sequence fields. This function searches for matching sequence elements within a specified range.

### Return Codes

MCO_S_OK | The value was put successfully
MCO_E_ACCESS | The transaction that the class handle is scoped to is `MCO_READ_ONLY`

Related Topics

## Example