'Declaration Public Overloads Shared Function GetInt( _ ByVal value As Object, _ ByVal defaultValue As Integer _ ) As Integer
public static int GetInt( object value, int defaultValue )
Parameters
- value
- The object to convert.
- defaultValue
- The default value.
Return Value
The converted value, or defaultValue if the object could not be converted.