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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.