Retrieves an array of
MemberInfo objects corresponding to all public members or to all members that match a specified name.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax MemberInfo[] GetMember(
string name,
BindingFlags bindingAttr
)
Parameters
- name
- Type: SystemString
The name of the member to find. - bindingAttr
- Type: System.ReflectionBindingFlags
The binding attributes used to control the search.
Return Value
Type:
MemberInfoAn array of
MemberInfo objects matching the
name parameter.
See Also