TypeGetMembers Method (BindingFlags) |
When overridden in a derived class, searches for the members defined for the current
Type, using the specified binding constraints.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax 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:
MemberInfoAn 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