ReflectionExtensions.GetField Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GetField(Type, Func<FieldInfo,Boolean>) |
Pour un usage interne par la plateforme Xamarin.Forms. |
GetField(Type, String) |
Pour un usage interne par la plateforme Xamarin.Forms. |
GetField(Type, Func<FieldInfo,Boolean>)
Pour un usage interne par la plateforme Xamarin.Forms.
public static System.Reflection.FieldInfo GetField (this Type type, Func<System.Reflection.FieldInfo,bool> predicate);
static member GetField : Type * Func<System.Reflection.FieldInfo, bool> -> System.Reflection.FieldInfo
Paramètres
- type
- System.Type
Pour un usage interne par la plateforme Xamarin.Forms.
- predicate
- System.Func<System.Reflection.FieldInfo,System.Boolean>
Pour un usage interne par la plateforme Xamarin.Forms.
Retours
Pour un usage interne par la plateforme Xamarin.Forms.
S’applique à
GetField(Type, String)
Pour un usage interne par la plateforme Xamarin.Forms.
public static System.Reflection.FieldInfo GetField (this Type type, string name);
static member GetField : Type * string -> System.Reflection.FieldInfo
Paramètres
- type
- System.Type
Pour un usage interne par la plateforme Xamarin.Forms.
- name
- System.String
Pour un usage interne par la plateforme Xamarin.Forms.
Retours
Pour un usage interne par la plateforme Xamarin.Forms.