Converts the specified NullableInt64 value to an equivalent String value using a conventional String value to represent the Null value.
conventionalNullValue if x is Null otherwise the equivalent string of the Value of x formatted as specified by format.
If format is a null reference (Nothing in Visual Basic) or an empty string (""), general format specifier ("G") will be used.
The NumberFormatInfo for the current culture is used when applying fomatting.
Exception Type | Condition |
---|---|
FormatException | x is not Null and the format is invalid for an Int64. |
NullConvert Class | NullableTypes.HelperFunctions Namespace | NullConvert.From Overload List