ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace > ImGearIsisScannerCollection class : forEach Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function forEach( method : function, context : object ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScannerCollection.forEach(function,object); |
This function calls the specified function once for each item in the collection.
When forEach calls the function, it will set this
to context, the first function parameter is the item being enumerated, the second function parameter is the zero-based index of the iteration, and the third function parameter to the collection.