Sdílet prostřednictvím


DataViewBrowseObject.IReflect.GetMember(String, BindingFlags) Method

Definition

Retrieves the specified public members that match the specified binding constraints for the type of the current instance.

 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 members to get.

bindingAttr
BindingFlags

A bitmask made up of one or more BindingFlags that specify how the search is conducted, or zero to return an empty array.

Returns

An array of MemberInfo objects representing the public members with the specified name, if found; otherwise, an empty array.

Implements

Applies to