PythonScript Xojo Plugin |

# PythonInstance.IntegerField Method (console safe)

Gets or sets a integer field on the class instance.

IntegerField(
name as String) as Integer
IntegerField(
name as String
assigns value as Integer)

#### Parameters

name
  Name of the field to set.
value (assignment parameter)
  The value to set

#### Returns

Integer

#### Remarks

The field does not have to exist on the class. If it does not exist then its added when the setter is called.

#### See Also

PythonInstance Class