ConversionToInt64(String, Int64) Method
Return a number converted to Int64, with no exception thrown in the
case that the specified value is not valid.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static long ToInt64(
string value,
long defaultValue
)
Public Shared Function ToInt64 (
value As String,
defaultValue As Long
) As Long
No code example is currently available or this language may not be supported.
- value String
-
Value to convert to an Int64.
- defaultValue Int64
-
The default value to return if the value can not be converted.
Int64
If the caller's value was valid, an Int64 representation of that value.
Otherwise, the caller's specified default value.