Collapse All Expand All

.NET Framework Class Library
MapMessage Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Sets a string value with the specified name into the Map.

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

# Syntax

    public void SetString(
    	string name,
    	string value
    )

    Public Sub SetString ( _
    	name As String, _
    	value As String _
    )

    public:
    void SetString(
    	String^ name,
    	String^ value
    )

#### Parameters

name
  Type: System..::.String
  The name of the string

value
  Type: System..::.String
  The string 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