Deserializes the object from Xml, and returns it.

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
<ExtensionAttribute> _
Public Shared Function ToObject ( _
	message As IMessage _
) As Object
C#
public static Object ToObject(
	this IMessage message
)
Visual C++
[ExtensionAttribute]
public:
static Object^ ToObject(
	IMessage^ message
)
JavaScript
Apache.NMS.MessageExtensions.toObject = function(message);

Parameters

message
Type: Apache.NMS..::..IMessage

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also