Edit

Bagikan melalui


AccessibleObject.IReflect.GetProperties(BindingFlags) Method

Definition

Gets an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class. 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);
abstract member System.Reflection.IReflect.GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
override this.System.Reflection.IReflect.GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
Function GetProperties (bindingAttr As BindingFlags) As PropertyInfo() Implements IReflect.GetProperties

Parameters

bindingAttr
BindingFlags

The binding attribute used to control the search.

Returns

An array of PropertyInfo objects for all the properties defined on the reflection object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IReflect interface.

Applies to