GlobalScope.GetProperties(BindingFlags) 方法

定义

获取 PropertyInfo 对象的数组,这些对象对应于全局范围的所有属性。

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

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

参数

bindingAttr
BindingFlags

枚举值的按位组合,用于指定反射如何执行成员搜索。

返回

PropertyInfo[]

对象的数组,其中包含全局范围的所有属性。

实现

适用于

另请参阅