Méthode System::Reflection::MemberInfo::GetCustomAttributes

MemberInfo::GetCustomAttributes(bool) const method

Renvoie un tableau contenant des objets représentant tous les attributs personnalisés appliqués au type représenté par l’objet actuel.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
ParamètreTypeDescription
inheritboolIndique s’il faut également vérifier les attributs hérités.

Voir aussi

MemberInfo::GetCustomAttributes(const TypeInfo&, bool) const method

Renvoie un tableau contenant des objets représentant tous les attributs personnalisés appliqués au type représenté par l’objet actuel.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
ParamètreTypeDescription
attributeTypeconst TypeInfo&Type d’attribut à rechercher.
inheritboolIndique s’il faut également vérifier les attributs hérités.

Voir aussi