Type.GetFields Method

July 28, 2014

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.

  NameDescription
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.
Top

Show:
© 2014 Microsoft