getAttrCount()

Retrieves the number of attributes that are in the business object's attribute list.

Syntax

int getAttrCount();

Parameters

None.

Return values

An integer that specifies the number of attributes in the attribute list.

Examples

for(i=0; i<pObj.getAttrCount(); i++){
   char*cp;
 
   ...
   pObj.setAttrValue(i,cp,theObj.getAttrType(i));
}

See also

See also the description of the getAttrIndex() method under BusObjSpec class

Copyright IBM Corp. 1997, 2004