Returns the value of the object with the specified name.
Namespace:
Kaazing.JMSThis method can be used to return, in objectified format, an object that had been stored in the Map with the equivalent setObject method call, or its equivalent primitive settype method.
Note that byte values are returned as byte[], not Byte[].
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function GetObject ( _ name As String _ ) As Object |
| C# |
|---|
Object GetObject( string name ) |
| Visual C++ |
|---|
Object^ GetObject( String^ name ) |
Parameters
- name
- Type: System..::..String
the name of the object
Return Value
a copy of the object value with the specified name, in objectified format (for example, if the object was set as an int, an Integer is returned); if there is no item by this name, a null value is returned
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to read the message due to some internal error. |