Returns the value of the 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.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Function GetObjectProperty ( _
	name As String _
) As Object
C#
Object GetObjectProperty(
	string name
)
Visual C++
Object^ GetObjectProperty(
	String^ name
)

Parameters

name
Type: System..::..String
the name of the object property

Return Value

the object property value with the specified name, in objectified format (for example, if the property was set as an int, an Integer is returned); if there is no property by this name, a null value is returned

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to get the property value due to some internal error.

See Also