The IDLitDataContainer::SetData function method stores data in the IDLitData object specified by Identifier. This method acts in exactly the same way as the IDLitData::SetData method.
Result = Obj->[IDLitDataContainer::]SetData(Data, Identifier[, /NO_COPY] [, /NULL])
Returns a 1 if the operation succeeds, or 0 if it fails.
An IDL variable of any type that is copied into the specified data object.
A scalar string containing the object identifier of the IDLitData object in which the data specified by Data should be stored. This path must specify a valid IDLitData object, or the function fails. See iTool Object Identifiers for a discussion of object identifier strings.
Set this keyword to move the data into the specified IDLitData object without creating an additional copy. This leaves the original IDL variable named by the Data argument undefined.
Set this keyword to remove any data stored in the IDLitData object, leaving it empty. If this keyword is set, the Data argument is ignored, but must still be present.
Introduced: 6.0