The SetValue method assigns the given TimeSpan value to the NBElement (using the NBElementTimeSpanType to determine the sub-type)
and returns the current NBElement (whose value is set).

C# | Visual Basic | Visual C++ | F# |
public NBElement SetValue( TimeSpan value, NBElementTimeSpanType type )
Public Function SetValue ( _ value As TimeSpan, _ type As NBElementTimeSpanType _ ) As NBElement
public: NBElement^ SetValue( TimeSpan value, NBElementTimeSpanType type )
member SetValue : value:TimeSpan * type:NBElementTimeSpanType -> NBElement

- value (TimeSpan)
- The value to set.
- type (NBElementTimeSpanType)
- The type of the object.

The current element.