TypeDelegator.GetProperties(BindingFlags) 方法

定义

返回 PropertyInfo 对象的数组,这些对象表示由当前 TypeDelegator 包装的类型的属性。Returns an array of PropertyInfo objects representing properties of the type wrapped by the current TypeDelegator.

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

影响执行搜索的方式的位掩码。A bitmask that affects the way in which the search is conducted. 该值是零个或多个来自 BindingFlags 的位标志的组合。The value is a combination of zero or more bit flags from BindingFlags.

返回

PropertyInfo 对象的数组,表示在此 TypeDelegator 上定义的属性。An array of PropertyInfo objects representing properties defined on this TypeDelegator.

适用于