Overview | Methods | This Package | All Packages
Sets the data to be stored in the Data object.
Syntax
public void setData( String format, Object data )
public void setData( Class format, Object data )
public void setData( Object data )
Parameters
format
A String object or class that represents the format of the data to store.
data
An object that represents the data to store.
Remarks
Use the first and second versions of this method to define the format of the data being stored in the Data object. Use the third version to assign the object without supplying format information. The fields in the DataFormats class can be used to define the format of the data being stored.
See Also IDataObject, getData