# classname_fieldname_size(blob)

The size function for a blob element returns the number of bytes in the blob.

### Prototype

>         MCO_RET	classname_fieldname_size(	/*IN*/ classname *handle,
>                                /*OUT*/ uint4 *size );

### Arguments

handle | A pointer to a classname handle
size | A uint4 pointer to receive the size of the element

### Description

The size function for a blob element returns the number of bytes in the blob.

### Return Codes

MCO_S_OK | The size was returned successfully
MCO_E_TRANSACT |
MCO_E_EMPTYBLOB |
MCO_ERR_OBJECT_HANDLE |

Related Topics