Returns the members for the public and non-public members declared or inherited by this type.
[Visual Basic] Overrides Public Function GetMembers( _ ByVal bindingAttr As BindingFlags _ ) As MemberInfo () [C#] public override MemberInfo[] GetMembers( BindingFlags bindingAttr ); [C++] public: override MemberInfo* GetMembers( BindingFlags bindingAttr ) []; [JScript] public override function GetMembers( bindingAttr : BindingFlags ) : MemberInfo[];
Returns an array of 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.
Exception Type | Condition |
---|---|
NotSupportedException | This method is not implemented. |
This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.
NGWS Runtime Security:
ReflectionPermission | TypeInformation required for non-public members |
TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace