TypeExtensions.GetFields Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.