# mco_dict_collation_name
RT

> Returns a collation descriptor by name.

### Prototype

        MCO_RET mco_dict_collation_name(	/*IN*/const mco_metadict_header_t * metadict,
                           /*IN*/ unsigned short dict_no,
                           /*IN*/ const char * name,
                           /*OUT*/ mco_dict_collation_info_t * coll_info);

### Arguments

metadict | The address of a mco_metadict_header_t structure to initialize
dict_no | The index of the dictionary: must be between 0 and `mco_metadict_count().`
name | The collation name
coll_info | The collation descriptor

### Description

> This function returns a collation descriptor based on the dictionary and collation name.

### Return Codes

MCO_S_OK | The count was successfully returned
MCO_E_UDA_DICT_NOTFOUND | The dictionary is not registered

### Files

Header file:
mcouda.h
Source file:
mcouda.c
Library:
libmcouda.a