IReflectGetProperties Method |
Retrieves an array of
PropertyInfo objects corresponding to all public properties or to all properties of the current class.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax PropertyInfo[] GetProperties(
BindingFlags bindingAttr
)
Parameters
- bindingAttr
- Type: System.ReflectionBindingFlags
The binding attribute used to control the search.
Return Value
Type:
PropertyInfoAn array of
PropertyInfo objects for all the properties defined on the reflection object.
See Also