User Guide
Delta.getOperation() 475
Description
Method; returns the associated message for this delta. Typically this message is only populated
if the delta packet has been returned from a server in response to attempted updates. For more
information, see “RDBMSResolver component (Flash Professional only)” on page 1047.
Example
The following example calls the getMessage() method:
//...
var dpi:Iterator = dp.getIterator();
var d:Delta;
while(dpi.hasNext()) {
d= dpi.next();
trace(d.getMessage());
}
//...
Delta.getOperation()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
delta.getOperation()
Parameters
None.
Returns
A number; returns the operation that was performed on the item within the original
collection.
Description
Method; returns the operation that was performed on this item within the original collection.
Valid values for this are
DeltaPacketConsts.Added, DeltaPacketConsts.Removed, and
DeltaPacketConsts.Modified.
You must either import mx.data.components.datasetclasses.DeltaPacketConsts or fully qualify
each constant.