Export (0) Print
Expand All

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()
[C#]
PropertyInfo[] GetProperties(
   BindingFlags bindingAttr
);
[C++]
PropertyInfo* GetProperties(
   BindingFlags bindingAttr
) [];
[JScript]
function GetProperties(
   bindingAttr : BindingFlags
) : PropertyInfo[];

Parameters

bindingAttr
The binding attribute used to control the search.

Return Value

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

Requirements

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

Show:
© 2014 Microsoft