編輯

共用方式為


AccessibleObject.IReflect.GetMembers(BindingFlags) Method

Definition

Gets an array of MemberInfo objects corresponding either to all public members or to all members of the current class. 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);
abstract member System.Reflection.IReflect.GetMembers : System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
override this.System.Reflection.IReflect.GetMembers : System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Function GetMembers (bindingAttr As BindingFlags) As MemberInfo() Implements IReflect.GetMembers

Parameters

bindingAttr
BindingFlags

The binding attributes used to control the search.

Returns

An array of MemberInfo objects containing all the member information for this reflection object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IReflect interface.

Applies to