classname_fieldname_put (vector)(string)

This form of the function applies to vectors of strings.

Prototype

 
    MCO_RET	classname_fieldname_put(	/*IN*/ classname *handle, 
                          /*IN*/ uint2 index, 
                          /*IN*/ const char * value, 
                          /*IN*/ uint2 len );
 

Arguments

handle A pointer to a classname handle

index

The offset from the start of the vector of the element into which to place value

value

A character pointer, the buffer which will be passed into the vector element of classname.fieldname indexed by index

len

The length of the buffer referenced by value

Description

This form of the function applies to vectors of strings.

Return Codes

MCO_S_OK The value was put successfully
MCO_E_ACCESS The transaction that the class handle is scoped to is MCO_READ_ONLY

MCO_E_TRANSACT

 

MCO_E_DELETED

 

MCO_E_NOMEM

 

MCO_E_INDEXLIMIT

 

MCO_E_ILLEGAL_PARAM

A negative string length was passed

MCO_ERR_OBJECT_HANDLE

 

MCO_ERR_TRN_LONG

 

MCO_ERR_TRN

 

Related Topics Link IconRelated Topics