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

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

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

The current element.