This documentation is archived and is not being maintained.

IReflect.GetProperties Method

Retrieves an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class.

[Visual Basic]
Function GetProperties( _
   ByVal bindingAttr As BindingFlags _
) As PropertyInfo()
PropertyInfo[] GetProperties(
   BindingFlags bindingAttr
PropertyInfo* GetProperties(
   BindingFlags bindingAttr
) [];
function GetProperties(
   bindingAttr : BindingFlags
) : PropertyInfo[];


The binding attribute used to control the search.

Return Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IReflect Interface | IReflect Members | System.Reflection Namespace | BindingFlags