The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft