TypeInfo.GetDeclaredProperty(String) 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.
Renvoie un objet qui représente la propriété spécifiée déclarée par le type actuel.
public:
virtual System::Reflection::PropertyInfo ^ GetDeclaredProperty(System::String ^ name);
public virtual System.Reflection.PropertyInfo GetDeclaredProperty(string name);
public virtual System.Reflection.PropertyInfo? GetDeclaredProperty(string name);
abstract member GetDeclaredProperty : string -> System.Reflection.PropertyInfo
override this.GetDeclaredProperty : string -> System.Reflection.PropertyInfo
Public Overridable Function GetDeclaredProperty (name As String) As PropertyInfo
Paramètres
- name
- String
Nom de la propriété.
Retours
Objet qui représente la propriété spécifiée, si elle est trouvée ; sinon, null.
Exceptions
name a la valeur null.