TypeExtensions.GetField Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Name | Description |
|---|---|
| GetField(Type, String, BindingFlags) | |
| GetField(Type, String) |
GetField(Type, String, BindingFlags)
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::FieldInfo ^ GetField(Type ^ type, System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.FieldInfo GetField(this Type type, string name, System.Reflection.BindingFlags bindingAttr);
public static System.Reflection.FieldInfo? GetField(this Type type, string name, System.Reflection.BindingFlags bindingAttr);
static member GetField : Type * string * System.Reflection.BindingFlags -> System.Reflection.FieldInfo
<Extension()>
Public Function GetField (type As Type, name As String, bindingAttr As BindingFlags) As FieldInfo
Parametry
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Návraty
Platí pro
GetField(Type, String)
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::FieldInfo ^ GetField(Type ^ type, System::String ^ name);
public static System.Reflection.FieldInfo GetField(this Type type, string name);
public static System.Reflection.FieldInfo? GetField(this Type type, string name);
static member GetField : Type * string -> System.Reflection.FieldInfo
<Extension()>
Public Function GetField (type As Type, name As String) As FieldInfo
Parametry
- type
- Type
- name
- String