Redigeeri

Jagamisviis:


GlobalScope.GetMember(String, BindingFlags) Method

Definition

Gets an array of MemberInfo objects that correspond to all members that match a specified name.

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 specifies how the search for members is conducted by reflection.

Returns

An array of objects that match the name argument.

Implements

Applies to

See also