RecordSetObject.getLength()
The number of records in a RecordSet object.
Method. Returns the number of records in a RecordSet object.
The following example demonstrates the getLength method:
#include "NetServices.as"
var productList =new RecordSet(["ProductName","Price","Color"]);
productList.addItem({ProductName :"Spoon",Price :77,Color :0x987654});
productList.addItem({ProductName :"Niblick",Price :33,Color :660000});
trace("There are " + productList.getLength() + " products in the department.");
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/asDict34.htm