VirtualTypeImplementor.GetPropertyValue(PropertyInfo, Object, Object[]) 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 la valeur de la propriété demandée.
public:
virtual System::Object ^ GetPropertyValue(System::Reflection::PropertyInfo ^ propertyInfo, System::Object ^ instance, cli::array <System::Object ^> ^ args);
public virtual object GetPropertyValue (System.Reflection.PropertyInfo propertyInfo, object instance, object[] args);
abstract member GetPropertyValue : System.Reflection.PropertyInfo * obj * obj[] -> obj
override this.GetPropertyValue : System.Reflection.PropertyInfo * obj * obj[] -> obj
Public Overridable Function GetPropertyValue (propertyInfo As PropertyInfo, instance As Object, args As Object()) As Object
Paramètres
- propertyInfo
- PropertyInfo
- instance
- Object
Instance sur laquelle récupérer la propriété. Peut être null si la propriété est statique.
- args
- Object[]
Tableau facultatif d'arguments utilisés pour les propriétés paramétrables. Il ne peut pas s'agir d'un valeur null, mais il peut s'agir d'un tableau vide.
Retours
Objet qui représente la propriété demandée.
Exceptions
Si la classe dérivée non abstraite n'a pas fourni d'implémentation en substituant cette méthode.