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


- value (Object)
- The value to set.

The current element.

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.