The size function for a string element returns the number of bytes in the string. For a vector element, it returns the number of elements in the vector. This method is not generated for fixed size arrays.
MCO_RET classname_fieldname_size( /*IN*/ classname *handle, /*OUT*/ uint2 *size );
| handle | A pointer to a classname handle |
|
size |
A |
The size function for a string element returns the number of bytes in the string. For a vector element, it returns the number of elements in the vector. This method is not generated for fixed size arrays.
| MCO_S_OK | The size was returned successfully |
|
MCO_TRANSACT |
|
|
MCO_ERR_OBJECT_HANDLE |
|