Redigera

Dela via


ScriptObject.GetMember(String, BindingFlags) Method

Definition

When overridden in a derived class, 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:
 abstract cli::array <System::Reflection::MemberInfo ^> ^ GetMember(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public abstract System.Reflection.MemberInfo[] GetMember (string name, System.Reflection.BindingFlags bindingAttr);
abstract member GetMember : string * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public MustOverride 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