WebLogic Messaging API Class Library |

# IMessage.GetObjectProperty Method

Returns the value of the primitive object property with the specified name.

This method can be used to return, in objectified format, an object that has been stored as a property in the message with the equivalent `SetObjectProperty` method call, or its equivalent primitive `settypeProperty` method.

object GetObjectProperty(
String name
);

#### Parameters

String
  the name of the object property

#### Return Value

the object property value with the specified name, or null if the property does not exist

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to get the property value due to some internal error.

#### See Also

IMessage Interface | WebLogic.Messaging Namespace