TypeExtensions.GetMember TypeExtensions.GetMember TypeExtensions.GetMember Method

定义

重载

GetMember(Type, String) GetMember(Type, String) GetMember(Type, String)
GetMember(Type, String, BindingFlags) GetMember(Type, String, BindingFlags) GetMember(Type, String, BindingFlags)

GetMember(Type, String) GetMember(Type, String) GetMember(Type, String)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::MemberInfo ^> ^ GetMember(Type ^ type, System::String ^ name);
public static System.Reflection.MemberInfo[] GetMember (this Type type, string name);
static member GetMember : Type * string -> System.Reflection.MemberInfo[]

参数

type
Type Type Type

返回

GetMember(Type, String, BindingFlags) GetMember(Type, String, BindingFlags) GetMember(Type, String, BindingFlags)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::MemberInfo ^> ^ GetMember(Type ^ type, System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.MemberInfo[] GetMember (this Type type, string name, System.Reflection.BindingFlags bindingAttr);
static member GetMember : Type * string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]

参数

type
Type Type Type

返回

适用于