Class.getField

Looks up a field by name, searching this class, and each of its super classes in turn.

class Class
override const
const(Field)
getField
(
string name
)

Parameters

name string

The name of the field.

Return Value

Type: const(Field)

The field object, or null if no such field exists.

Meta