# classname_fieldname_get(char)

This function retrieves a value into a char array.

### Prototype

>         MCO_RET	classname_fieldname_get(	/*IN*/ classname *handle,
>                             /*OUT*/ char *dest,
>                             /*IN*/ uint2 dest_size);

### Arguments

handle | A pointer to a classname handle
dest | A pointer to a buffer to receive the element’s contents
dest_size | The size of the dest buffer

### Description

This form of the function applies to elements that are of type char.

### Return Codes

MCO_S_OK | The value was read successfully
MCO_E_TRANSACT |
MCO_ERR_OBJECT_HANDLE |

Related Topics