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
typeTypeType which properties are enumerated.
sortboolDefines whether to sort returned properties by name.
bindingFlagsBindingFlagsSpecifies flags that control the way in which the search for members is conducted.