ScanUtilstoInteger Method |
Any object to integer.
Namespace: asprise_imaging_apiAssembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static int toInteger(
Object val,
int defaultValue = 0
)
Public Shared Function toInteger (
val As Object,
Optional defaultValue As Integer = 0
) As Integer
public:
static int toInteger(
Object^ val,
int defaultValue = 0
)
static member toInteger :
val : Object *
?defaultValue : int
(* Defaults:
let _defaultValue = defaultArg defaultValue 0
*)
-> int
Parameters
- val
- Type: SystemObject
- defaultValue (Optional)
- Type: SystemInt32
Fall back value if parse fails
Return Value
Type:
Int32See Also