Method EnumProps
EnumProps(Type, bool, BindingFlags)
Enumerates property information for the specified Type.
public static IEnumerable<PropertyInfo> EnumProps(Type type, bool sort = false, BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public)
Parameters
type
TypeType which events are enumerated.
sort
boolDefines whether to sort result events by name.
bindingFlags
BindingFlagsSpecifies flags that control the way in which the search for members is conducted.