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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.