Returns the value of the NBElement passed in after first converting it to a Int64 if required using the specified format.

C# | Visual Basic | Visual C++ | F# |

The current element's value converted to an Int64 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 an Int64 with the given format. |