GetFields

GetFields(Type, BindingFlags)

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

Description

Get type fields.

Parameters

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

Returns

Array of FieldInfo