GetMembers Method
Collapse the table of content
Expand the table of content

IReflect.GetMembers Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Retrieves an array of MemberInfo objects that correspond either to all public members or to all members of the current class.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Function GetMembers ( _
	bindingAttr As BindingFlags _
) As MemberInfo()

Parameters

bindingAttr
Type: System.Reflection.BindingFlags
The binding attributes used to control the search.

Return Value

Type: System.Reflection.MemberInfo ()
An array of MemberInfo objects containing all the member information for this reflection object.

This method retrieves an array of MemberInfo objects by using the binding attribute that corresponds either to all public members or to all members of the current class. It returns an array of all of the members defined for this object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft