System.Reflection.Emit.EnumBuilder.GetMembers Method

Returns the specified members declared or inherited by this type,.

Syntax

public override System.Reflection.MemberInfo[] GetMembers (System.Reflection.BindingFlags bindingAttr)

Parameters

bindingAttr
This must be a bit flag from System.Reflection.BindingFlags : InvokeMethod, NonPublic, and so on.

Returns

Returns an array of System.Reflection.MemberInfo objects representing the public and non-public members declared or inherited by this type. An empty array is returned if there are no matching members.

Remarks

As a workaround, to retrieve the members of a finished type, retrieve the type using Type.GetType or System.Reflection.Assembly.GetType(string) and use reflection on the retrieved type.

Requirements

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