Redigera

Dela via


TypedArray.GetMember(String, BindingFlags) Method

Definition

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

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual cli::array <System::Reflection::MemberInfo ^> ^ GetMember(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public System.Reflection.MemberInfo[] GetMember (string name, System.Reflection.BindingFlags bindingAttr);
abstract member GetMember : string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
override this.GetMember : string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public 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