Modifier

Partager via


AccessibleObject.IReflect.GetMember(String, BindingFlags) Method

Definition

Gets an array of MemberInfo objects corresponding to all public members or to all members that match a specified name. For a description of this member, see GetMember(String, BindingFlags).

 virtual cli::array <System::Reflection::MemberInfo ^> ^ System.Reflection.IReflect.GetMember(System::String ^ name, System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetMember;
System.Reflection.MemberInfo[] IReflect.GetMember (string name, System.Reflection.BindingFlags bindingAttr);
abstract member System.Reflection.IReflect.GetMember : string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
override this.System.Reflection.IReflect.GetMember : string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Function GetMember (name As String, bindingAttr As BindingFlags) As MemberInfo() Implements IReflect.GetMember

Parameters

name
String

The name of the member to find.

bindingAttr
BindingFlags

The binding attributes used to control the search.

Returns

An array of MemberInfo objects matching the name parameter.

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