Redigera

Dela via


TypeExtensions.GetFields Method

Definition

Overloads

GetFields(Type)
GetFields(Type, BindingFlags)

GetFields(Type)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
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[]
<Extension()>
Public Function GetFields (type As Type) As FieldInfo()

Parameters

type
Type

Returns

Applies to

GetFields(Type, BindingFlags)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
public:
 static cli::array <System::Reflection::FieldInfo ^> ^ GetFields(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.FieldInfo[] GetFields (Type type, System.Reflection.BindingFlags bindingAttr);
static member GetFields : Type * System.Reflection.BindingFlags -> System.Reflection.FieldInfo[]
Public Shared Function GetFields (type As Type, bindingAttr As BindingFlags) As FieldInfo()

Parameters

type
Type
bindingAttr
BindingFlags

Returns

Applies to