The SetValue method assigns the given DateTimeOffset value to the NBElement and returns the current NBElement (whose value is set).

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

- value (DateTimeOffset)
- The value to set.

The current element.