Editare

Partajați prin


GlobalScope.GetFields(BindingFlags) Method

Definition

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