ASP.NET Ajax Javascript (Specification) | |
---|---|
function forEach( method : function, context : object ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisTagStringCollection.forEach(function,object); |
Parameters
- method
- The function to call.
- context
- An object that holds the context of the call.
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.