TypeReflector.GetMember(String, BindingFlags) 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.
Searches for the specified member, using the specified binding constraints.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
override cli::array <System::Reflection::MemberInfo ^> ^ GetMember(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.MemberInfo[] GetMember (string name, System.Reflection.BindingFlags bindingAttr);
override this.GetMember : string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public Overrides Function GetMember (name As String, bindingAttr As BindingFlags) As MemberInfo()
Parameters
- name
- String
The name of the member to search for.
- bindingAttr
- BindingFlags
A bitwise combination of the enumeration values that specify the way in which the search for members and types is conducted by the reflection operation.
Returns
An array of MemberInfo objects that represents the public members that have the specified name, if found; otherwise, an empty array.