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

- value (Nullable<(Of <(<'DateTimeOffset>)>)>)
- The value to set.
- type (NBElementDateTimeType)
- The type of the object.

The current element.