Using Objects: Referencing an Object's Fields

Referencing an Object's Fields

  • Object fields are accessed by their name.
  • You may use a simple name for a field within its own class.
  • Code that is outside the object's class must use an object reference or expression, followed by the dot (.) operator, followed by a simple field name.

Related concepts

Using Objects: Referencing an Object's Fields — Structure map

Clickable & Draggable!

Using Objects: Referencing an Object's Fields — Related pages: