This function returns the element of a vector at a specified position.
MCO_RET classname_fieldname_at( /*IN*/ classname *handle,
/*IN*/ uint2 index,
/*OUT*/ char *result,
/*IN*/ uint2 bufsize,
/*OUT*/ uint2 *len );
handle
classname handle.index
uint2 that specifies the offset from the start of the vector from which to get the value.
result
bufsize
len
This function returns the element of a vector at a specified position. This method is used for vector
elements that are char or string elements. The size of the char or string element can be determined by first
calling classname_fieldname_at_len().
MCO_S_OK
MCO_E_INDEXLIMIT
MCO_E_TRANSACT
MCO_ERR_OBJECT_HANDLE