Generates code to retrieve an integer property from the system.
The name of the property.
Optional
The default value of the property (optional).
The generated code as a string.
Generates code to retrieve an integer property from the system.