TypeBuilder.GetMember Method (String, MemberTypes, BindingFlags)
Returns all the public and non-public members declared or inherited by this type, as specified.
Assembly: mscorlib (in mscorlib.dll)
public override MemberInfo GetMember( string name, MemberTypes type, BindingFlags bindingAttr )
- Type: System.String
The name of the member.
- Type: System.Reflection.MemberTypes
The type of the member to return.
Return ValueType: System.Reflection.MemberInfo
Returns an array of MemberInfo objects representing the public and non-public members defined on this type if nonPublic is used; otherwise, only the public members are returned.
Implements_Type.GetMember(String, MemberTypes, BindingFlags)
This method is not implemented for incomplete types.