Version: 5.4
public static int GetInt (string key, int defaultValue= 0);

Description

Returns the value corresponding to key in the preference file if it exists.

If the value doesn't already exist in the preference file the function will return defaultValue. See Also: SetInt.