Returns the value of the NBElement passed in after first converting it to a Nullable<DateTimeOffset>.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
public static Nullable<DateTimeOffset> ToNullableDateTimeOffset(
NBElement value
)
public static Nullable<DateTimeOffset> ToNullableDateTimeOffset(
NBElement value
)
Public Shared Function ToNullableDateTimeOffset (
value As NBElement
) As Nullable(Of DateTimeOffset)
Public Shared Function ToNullableDateTimeOffset (
value As NBElement
) As Nullable(Of DateTimeOffset)
public:
static Nullable<DateTimeOffset> ToNullableDateTimeOffset(
NBElement^ value
)
public:
static Nullable<DateTimeOffset> ToNullableDateTimeOffset(
NBElement^ value
)
static member ToNullableDateTimeOffset :
value : NBElement -> Nullable<DateTimeOffset>
static member ToNullableDateTimeOffset :
value : NBElement -> Nullable<DateTimeOffset>
Return Value
Type:
Nullable
DateTimeOffset The current element's value converted to a
Nullable<DateTimeOffset> data type.
Exception | Condition |
---|
System FormatException | Thrown if the value can not be converted to a Nullable<DateTimeOffset>. |
This method assumes the value element will contain a broker
Date,
Timestamp or
GmtTimestamp data type.
If this is not the case, use one of the overloads with the
convertVia parameter.