共用方式為


DataViewBrowseObject.IReflect.GetFields(BindingFlags) Method

Definition

Retrieves all the fields defined for the type of the current instance that match the specified binding constraints.

 virtual cli::array <System::Reflection::FieldInfo ^> ^ System.Reflection.IReflect.GetFields(System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetFields;
System.Reflection.FieldInfo[] IReflect.GetFields (System.Reflection.BindingFlags bindingAttr);
abstract member System.Reflection.IReflect.GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
override this.System.Reflection.IReflect.GetFields : System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
Function GetFields (bindingAttr As BindingFlags) As FieldInfo() Implements IReflect.GetFields

Parameters

bindingAttr
BindingFlags

A bitmask made up of one or more BindingFlags that specify how the search is conducted, or zero to return null.

Returns

An array of FieldInfo objects representing all fields defined for the type of the current instance that match the specified binding constraints, if found; otherwise returns null.

Implements

Applies to