Click or drag to resize

ExtensionsReflectionGetPropertiesEx Method

Returns all the properties of the current Type, using the specified binding constraints including those of the base classes.

Namespace:  Cauldron
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static IEnumerable<PropertyInfo> GetPropertiesEx(
	this Type type,
	BindingFlags bindingFlags = BindingFlags.Instance|BindingFlags.Static|BindingFlags.Public
)

Parameters

type
Type: SystemType
The Type that contains the properties
bindingFlags (Optional)
Type: System.ReflectionBindingFlags
A bitmask comprised of one or more BindingFlags that specify how the search is conducted.

Return Value

Type: IEnumerablePropertyInfo
A collection of PropertyInfo objects representing all the properties defined for the current Type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also