TypeReflector.GetMembers(BindingFlags) 方法

定义

在所有情况下都会引发 JScriptException 异常。Throws a JScriptException exception in all cases.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 override cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.MemberInfo[] GetMembers (System.Reflection.BindingFlags bindingAttr);
override this.GetMembers : System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public Overrides Function GetMembers (bindingAttr As BindingFlags) As MemberInfo()

参数

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.

返回

MemberInfo[]

在所有情况下都会引发 JScriptException 异常。Throws a JScriptException exception in all cases.

适用于

另请参阅