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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.