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

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public abstract PropertyInfo[] GetProperties(
	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: PropertyInfo
An array of PropertyInfo objects representing all properties of the current Type that match the specified binding constraints.-or- An empty array of type PropertyInfo, if the current Type does not have properties, or if none of the properties match the binding constraints.

Implements

IReflectGetProperties(BindingFlags)
See Also