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
Arbeiten Sie mit uns auf GitHub zusammen
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.