Collapse All Expand All

.NET Framework Class Library
MapMessage Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Sets an object value with the specified name into the Map.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public void SetObject(
    	string name,
    	Object value
    )

    Public Sub SetObject ( _
    	name As String, _
    	value As Object _
    )

    public:
    void SetObject(
    	String^ name,
    	Object^ value
    )

#### Parameters

name
  Type: System..::.String
  The name of the object. Name cannot be null or an empty string.

value
  Type: System..::.Object
  The object value to set in the Map

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS..::.MessageNotWriteableException | An MessageNotWriteableException may be thrown if the message is in read-only mode
System..::.ArgumentException | An ArgumentException may be thrown if the name is null or if the name is an empty string

# See Also

MapMessage Class
TIBCO.EMS Namespace