GlobalScope.GetField(String, Int32) 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.
Obtient un champ qui a le nom spécifié en recherchant la hiérarchie d’étendue. Cette méthode recherche uniquement l’étendue spécifiée par le niveau lexical.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
public:
override System::Reflection::FieldInfo ^ GetField(System::String ^ name, int lexLevel);
public override System.Reflection.FieldInfo GetField(string name, int lexLevel);
override this.GetField : string * int -> System.Reflection.FieldInfo
Public Overrides Function GetField (name As String, lexLevel As Integer) As FieldInfo
Paramètres
- name
- String
Nom du champ à rechercher.
- lexLevel
- Int32
Niveau lexical à rechercher.
Retours
Champ portant le nom spécifié.