LayerAPI.getAttribute

 

string getAttribute(int attrIndex, long featIndex)

This method returns the attribute value at column index attrIndex and row index featIndex from the database table associated with this layer. Valid values of attrIndex are from 0 to n-1, where n is the value returned by getNumAttributes.  Valid values of featIndex are from 0 to n-1, where n is the value return by getNumFeatures.