แก้ไข

แชร์ผ่าน


TypedArray.GetFields(BindingFlags) Method

Definition

Gets an array of FieldInfo objects that correspond to all fields of the Array class type.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual cli::array <System::Reflection::FieldInfo ^> ^ GetFields(System::Reflection::BindingFlags bindingAttr);
public System.Reflection.FieldInfo[] GetFields (System.Reflection.BindingFlags bindingAttr);
abstract member GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
override this.GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
Public 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 Array class type.

Implements

Applies to

See also