NBElement SetValue Method (Object)IBM Integration Bus
The SetValue method assigns the given Object's value to the NBElement and returns the current NBElement (whose value is set).

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public NBElement SetValue(
	Object value
)

Return Value

Type: NBElement
The current element.
Remarks

If the Object's type is one of the types listed in NBElementValueType that have a direct mapping to a broker type then the value of the element is set to the mapped type. If the type is not one of the mapped types, then ToString() is called on the object and its value is inserted as a string.
See Also