GetFields

public static FieldInfo[] GetFields(Type type, BindingFlags bindingAttr) ;

Get type fields.

Parameter Name Description
type Type
bindingAttr Flag that controls how the field is searched

Array of FieldInfo