AccessibleObject.IReflect.GetMember(String, BindingFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk