AccessibleObject.IReflect.GetMembers(BindingFlags) AccessibleObject.IReflect.GetMembers(BindingFlags) AccessibleObject.IReflect.GetMembers(BindingFlags) Method

定义

获取 MemberInfo 对象数组,这些对象对应于所有公共成员或者当前类的所有成员。Gets an array of MemberInfo objects corresponding either to all public members or to all members of the current class. 有关此成员的说明,请参见 GetMembers(BindingFlags)For a description of this member, see GetMembers(BindingFlags).

 virtual cli::array <System::Reflection::MemberInfo ^> ^ System.Reflection.IReflect.GetMembers(System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetMembers;
System.Reflection.MemberInfo[] IReflect.GetMembers (System.Reflection.BindingFlags bindingAttr);
Function GetMembers (bindingAttr As BindingFlags) As MemberInfo() Implements IReflect.GetMembers

参数

bindingAttr
BindingFlags BindingFlags BindingFlags

用于控制搜索的绑定属性。The binding attributes used to control the search.

返回

包含此反射对象的所有成员信息的 MemberInfo 对象数组。An array of MemberInfo objects containing all the member information for this reflection object.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 AccessibleObject 实例被强制转换为 IReflect 接口时使用。It can be used only when the AccessibleObject instance is cast to an IReflect interface.

适用于