PythonScript Xojo Plugin |

# PythonInstance.StringField Method (console safe)

Gets or sets a string field on the class instance.

StringField(
name as String) as String
StringField(
name as String
assigns value as String)

#### Parameters

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

#### Returns

String

#### 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