The SetValue method assigns the given DateTime 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( DateTime value, NBElementDateTimeType type )
Public Function SetValue ( _ value As DateTime, _ type As NBElementDateTimeType _ ) As NBElement
public: NBElement^ SetValue( DateTime value, NBElementDateTimeType type )
member SetValue : value:DateTime * type:NBElementDateTimeType -> NBElement

- value (DateTime)
- The value to set.
- type (NBElementDateTimeType)
- The type of the object.

The current element.