GlobalScope.GetFields(BindingFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an array of FieldInfo objects that correspond to all fields of the global scope.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
override cli::array <System::Reflection::FieldInfo ^> ^ GetFields(System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.FieldInfo[] GetFields (System.Reflection.BindingFlags bindingAttr);
override this.GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
Public Overrides Function GetFields (bindingAttr As BindingFlags) As FieldInfo()
Parameters
- bindingAttr
- BindingFlags
A bitwise combination of the enumeration values that specifies how the search for members is conducted by reflection.
Returns
An array of objects that contains all fields of the global scope.
Implements
Applies to
See also
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.