Type.GetFields Method
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Gets the fields of the current Type.
Assembly: mscorlib (in mscorlib.dll)
Name | Description | |
---|---|---|
![]() | GetFields() | Returns all the public fields of the current Type. |
![]() | GetFields(BindingFlags) | When overridden in a derived class, searches for the fields defined for the current Type, using the specified binding constraints. |
Show: