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
classname handle.size
uint2 pointer to receive the size of the element.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
MCO_TRANSACT
MCO_ERR_OBJECT_HANDLE