# classname_fieldname_first

This function returns the first element in the sequence.

### Prototype

>         MCO_RET	classname_fieldname_first(	/*IN*/ classname *handle,
>                                 /*IN*/ TYPE *value );

### Arguments

handle | A pointer to a classname handle
values | A pointer to the first value in the sequence

### Description

This function applies to sequence fields. The function returns the first element in the sequence.

### 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