Returns the value of the NBElement passed in after first converting it to a Nullable<Int32> if required with the specified format.


The current element's value converted to a Nullable<Int32> data type using the specified format.

The format string uses the syntax documented in the Infocenter in the topic "Formatting and parsing numbers as strings (ak05615)".

Exception | Condition |
---|---|
FormatException | Thrown if the value can not be converted to a Nullable<Int32> with the given format. |