AquaLogic Interaction Development Kit (IDK) 6.0.0

NamedValueMap.Put Method (String, String[])

Adds a name/value pair to the map.

public string Put(
   string key,
   string[] values
);

Parameters

key
The key name. Note: The portal will uppercase the name.
values
The values to assign to the key. Can be null.

Return Value

Previous value associated with specified key, or null if there was no mapping for the given key. A null return can also indicate that the NamedValueMap previously associated null with the specified key. If the previous value was a string[], this method returns the first element of the string[].

Remarks

Adds multiple name/value pairs to the map, where the value is a String[], replacing any existing values. Used when adding multi-value properties to the portal in Profile and Crawl. For example, if calling put("key1", {"value1", "value2", "value3"}); the following would be returned to the portal as the named value pairs:
key1 value1
key1 value2
key1 value3
This method is only supported for UserPropertyInfo in Profile.

See Also

NamedValueMap Class | Plumtree.Remote.Util Namespace | NamedValueMap.Put Overload List