Click or drag to resize
TypeGetMembers Method (BindingFlags)
When overridden in a derived class, searches for the members defined for the current Type, using the specified binding constraints.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public abstract MemberInfo[] GetMembers(
	BindingFlags bindingAttr
)

Parameters

bindingAttr
Type: System.ReflectionBindingFlags
A bitmask comprised of one or more BindingFlags that specify how the search is conducted.-or- Zero, to return null.

Return Value

Type: MemberInfo
An array of MemberInfo objects representing all members defined for the current Type that match the specified binding constraints.-or- An empty array of type MemberInfo, if no members are defined for the current Type, or if none of the defined members match the binding constraints.

Implements

IReflectGetMembers(BindingFlags)
See Also