TypeExtensions.GetMember 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.
Overloads
GetMember(Type, String) | |
GetMember(Type, String, BindingFlags) |
GetMember(Type, String)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::MemberInfo ^> ^ GetMember(Type ^ type, System::String ^ name);
public static System.Reflection.MemberInfo[] GetMember (Type type, string name);
static member GetMember : Type * string -> System.Reflection.MemberInfo[]
Public Shared Function GetMember (type As Type, name As String) As MemberInfo()
Parameters
- type
- Type
- name
- String
Returns
Applies to
GetMember(Type, String, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
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[]
<Extension()>
Public Function GetMember (type As Type, name As String, bindingAttr As BindingFlags) As MemberInfo()
Parameters
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.