AccessibleObject.IReflect.GetProperties(BindingFlags) AccessibleObject.IReflect.GetProperties(BindingFlags) AccessibleObject.IReflect.GetProperties(BindingFlags) Method

定义

获取 PropertyInfo 对象数组,这些对象对应于所有公共属性或当前类的所有属性。Gets an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class. 有关此成员的说明,请参见 GetProperties(BindingFlags)For a description of this member, see GetProperties(BindingFlags).

 virtual cli::array <System::Reflection::PropertyInfo ^> ^ System.Reflection.IReflect.GetProperties(System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetProperties;
System.Reflection.PropertyInfo[] IReflect.GetProperties (System.Reflection.BindingFlags bindingAttr);
Function GetProperties (bindingAttr As BindingFlags) As PropertyInfo() Implements IReflect.GetProperties

参数

bindingAttr
BindingFlags BindingFlags BindingFlags

用于控制搜索的绑定属性。The binding attribute used to control the search.

返回

在反射对象上定义的所有属性的 PropertyInfo 对象数组。An array of PropertyInfo objects for all the properties defined on the reflection object.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 AccessibleObject 实例被强制转换为 IReflect 接口时使用。It can be used only when the AccessibleObject instance is cast to an IReflect interface.

适用于