TypeExtensions.GetField Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| GetField(Type, String, BindingFlags) | |
| GetField(Type, String) |
GetField(Type, String, BindingFlags)
- Kaynak:
- TypeExtensions.cs
- Kaynak:
- TypeExtensions.cs
- Kaynak:
- TypeExtensions.cs
- Kaynak:
- 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
Parametreler
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Döndürülenler
Şunlara uygulanır
GetField(Type, String)
- Kaynak:
- TypeExtensions.cs
- Kaynak:
- TypeExtensions.cs
- Kaynak:
- TypeExtensions.cs
- Kaynak:
- 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
Parametreler
- type
- Type
- name
- String