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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.