Bearbeiten

Teilen über


TypeExtensions.GetMember Method

Definition

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