TypeExtensions.GetFields Method

Definition

Overloads

GetFields(Type)
GetFields(Type, BindingFlags)

GetFields(Type)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::FieldInfo ^> ^ GetFields(Type ^ type);
public static System.Reflection.FieldInfo[] GetFields (this Type type);
static member GetFields : Type -> System.Reflection.FieldInfo[]

Parameters

type
Type

Returns

GetFields(Type, BindingFlags)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::FieldInfo ^> ^ GetFields(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.FieldInfo[] GetFields (this Type type, System.Reflection.BindingFlags bindingAttr);
static member GetFields : Type * System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]

Parameters

type
Type
bindingAttr
BindingFlags

Returns

Applies to