System.Reflection.IReflect.GetMembers Method

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

Syntax

public MemberInfo[] GetMembers (BindingFlags bindingAttr)

Parameters

bindingAttr
The binding attributes used to control the search.

Returns

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

Remarks

This method retrieves an array of System.Reflection.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.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0