Method
void SetBoolean(string name, bool value); void SetByte(string name, byte value); void SetShort(string name, short value); void SetChar(string name, char value); void SetInt(string name, int value); void SetLong(string name, long value); void SetFloat(string name, float value); void SetDouble(string name, double value); void SetString(string name, String value); void SetObject(string name, Object value);
Set a name-value pair in a map message.
Parameter
|
Description
|
---|---|
name
|
Set the pair with this name.
Field names must not be null, and must not be empty strings.
|
value
|
Associate this value with the name.
|
The JMS specification defines eleven methods to set name-value pairs in a MapMessage
(these ten, plus MapMessage.SetBytes
).
The first nine of these methods set pairs with primitive value types. The SetObject
method first converts an object to a primitive type (if possible), and then places that value in the pair.
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |