共用方式為


TypeExtensions.GetFields 方法

定義

多載

GetFields(Type)
GetFields(Type, BindingFlags)

GetFields(Type)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
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()

參數

type
Type

傳回

適用於

GetFields(Type, BindingFlags)

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

參數

type
Type
bindingAttr
BindingFlags

傳回

適用於