This documentation is archived and is not being maintained.

Type.GetFields Method

Gets the fields of the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method GetFields() Returns all the public fields of the current Type.
Public method GetFields(BindingFlags) When overridden in a derived class, searches for the fields defined for the current Type, using the specified binding constraints.