[]
        
(Showing Draft Content)

C1.Win.FlexReport.CustomFields.Maps.Util.GetInt

GetInt Method

GetInt(object)

Converts an object to an integer value.

Declaration
public static int GetInt(object value)
Parameters
Type Name Description
object value

The object to convert.

Returns
Type Description
int

The converted value, or 0 if the object could not be converted.

GetInt(object, int)

Converts an object to an integer value.

Declaration
public static int GetInt(object value, int defaultValue)
Parameters
Type Name Description
object value

The object to convert.

int defaultValue

The default value.

Returns
Type Description
int

The converted value, or defaultValue if the object could not be converted.