The cast operator method retrieves the value of the NBElement and explicitly casts it to a Nullable<DateTimeOffset> value.

C# | Visual Basic | Visual C++ | F# |
public static explicit operator Nullable<DateTimeOffset> ( NBElement value )
Public Shared Narrowing Operator CType ( _ value As NBElement _ ) As Nullable(Of DateTimeOffset)
static explicit operator Nullable<DateTimeOffset> ( NBElement^ value )

- value (NBElement)
- The Object representing the value of the element.

The current element.

Exception | Condition |
---|---|
FormatException |
Thrown if the value can not be converted to a Nullable<DateTimeOffset>.
|