NBElementConvert ToNullableTimeSpan Method (NBElement)IBM Integration Bus
Returns the value of the NBElement passed in after first converting it to a Nullable<TimeSpan>.

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

public static Nullable<TimeSpan> ToNullableTimeSpan(
	NBElement value
)

Return Value

Type: OnlineNullable OnlineTimeSpan 
The current element's value converted to a Nullable<TimeSpan> data type.
Exceptions

ExceptionCondition
OnlineSystem FormatExceptionThrown if the value can not be converted to a Nullable<TimeSpan>.
Remarks

This method assumes the value element will contain a broker Time, GmtTime or IntervalDaySecond data type. If this is not the case, use one of the overloads with the convertVia parameter.
See Also