IReflect.GetMembers(BindingFlags) IReflect.GetMembers(BindingFlags) IReflect.GetMembers(BindingFlags) IReflect.GetMembers(BindingFlags) Method

Definition

Retrieves an array of MemberInfo objects that correspond either to all public members or to all members of the current class.

public:
 cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(System::Reflection::BindingFlags bindingAttr);
public System.Reflection.MemberInfo[] GetMembers (System.Reflection.BindingFlags bindingAttr);
abstract member GetMembers : System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public Function GetMembers (bindingAttr As BindingFlags) As MemberInfo()

Parameters

bindingAttr
BindingFlags BindingFlags BindingFlags BindingFlags

The binding attributes used to control the search.

Returns

An array of MemberInfo objects containing all the member information for this reflection object.

Remarks

This method retrieves an array of MemberInfo objects by using the binding attribute that corresponds either to all public members or to all members of the current class. It returns an array of all of the members defined for this object.

Applies to

See also