Returns an array of specified MemberInfo objects, representing members (properties, methods, fields, events, etc) specified by the given name and bindingAttr.
[Visual Basic] Overrides Public Function GetMember( _ ByVal name As String, _ ByVal type As MemberTypes, _ ByVal bindingAttr As BindingFlags _ ) As MemberInfo () [C#] public override MemberInfo[] GetMember( string name, MemberTypes type, BindingFlags bindingAttr ); [C++] public: override MemberInfo* GetMember( String* name, MemberTypes type, BindingFlags bindingAttr ) []; [JScript] public override function GetMember( name : String, type : MemberTypes, bindingAttr : BindingFlags ) : MemberInfo[];
Returns an array of MemberInfo objects representing all the members of the current class which have the specified name meets the bindingAttr filter. Returns the members from the current class and its base classes.
If bindingAttr is BindingFlags.NonPublic, all the members will be considered. If there are no matches, an empty array is returned.
TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace