IsetAttributes()

Sets attributes in a business object from serialized data in a specified MIME type.

Syntax

void IsetAttributes(string serializedData, string mimeType);

Parameters

serializedData
The serialized data in the specified MIME type format.

mimeType
The MIME type that identifies the external format of the serialized data.

Return Values

None.

Exceptions

IMalFormedDataException
Thrown when the data is not formatted correctly.

Example

// Establish data format type
String externalData = "incomingData"
String mimeType = "text/xml";
exampleBusObj.IsetAttributes (externalData, mimeType); 

Copyright IBM Corp. 2004