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

- type (NBElementDateTimeType)
- The type of the object.

The current element.