[TIBCO.EMS .NET client library 5.1 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Sets an object value with the specified name into the Map.
Namespace:
TIBCO.EMSAssembly: 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 |