WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
ToNullableDecimal Method (value, format)
NamespacesIBM.Broker.PluginNBElementConvertToNullableDecimal(NBElement, String)
SUMMARY
Returns the value of the NBElement passed in after first converting it to a Nullable<Decimal> if required with specified format.
Declaration Syntax
C#Visual BasicVisual C++F#
public static Nullable<decimal> ToNullableDecimal(
	NBElement value,
	string format
)
Public Shared Function ToNullableDecimal ( _
	value As NBElement, _
	format As String _
) As Nullable(Of Decimal)
public:
static Nullable<Decimal> ToNullableDecimal(
	NBElement^ value, 
	String^ format
)
static member ToNullableDecimal : 
        value:NBElement * 
        format:string -> Nullable<decimal> 
Parameters
value (NBElement)
The element whose value is to be converted.
format (String)
The format specifier for the convertion.
Return Value
The current element's value converted to a Nullable<Decimal> data type using the specified format.
Remarks
The format string uses the syntax documented in the Infocenter in the topic "Formatting and parsing numbers as strings (ak05615)".
Exceptions
ExceptionCondition
FormatExceptionThrown if the value can not be converted to a Nullable<Decimal> with the given format.

Assembly: IBM.Broker.Plugin (Module: IBM.Broker.Plugin) Version: 8.0.0.0