WebLogic Messaging API Class Library |

# IMapMessage.GetObject Method

Returns the value of the object with the specified name.

This method can be used to return an object that had been stored in the Map with the equivalent `SetObject` method call, or its equivalent primitive `Settype` method.

object GetObject(
String name
);

#### Parameters

String
  key name of the object

#### Return Value

object value with the specified name

#### Remarks

If value set was unsigned byte

    byte

this method will return converted signed byte

    sbyte

instead of unsigned byte. This is because of java dot interoperability maintenence

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to read the message due to some internal error.

#### See Also

IMapMessage Interface | WebLogic.Messaging Namespace