NBElementConvert ToDateTimeOffset Method (NBElement)IBM Integration Bus
Returns the value of the NBElement passed in after first converting it to a DateTimeOffset.

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public static DateTimeOffset ToDateTimeOffset(
	NBElement value
)

Return Value

Type: OnlineDateTimeOffset
The current element's value converted to a DateTimeOffset data type.
Exceptions

ExceptionCondition
OnlineSystem FormatExceptionThrown if the value can not be converted to a DateTimeOffset.
Remarks

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.
See Also