Metodo System::Reflection::MemberInfo::GetCustomAttributes

MemberInfo::GetCustomAttributes(bool) const method

Restituisce un array contenente oggetti che rappresentano tutti gli attributi personalizzati applicati al tipo rappresentato dall’oggetto corrente.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
ParametroTipoDescrizione
inheritboolIndica se controllare anche gli attributi ereditati.

Vedi anche

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

Restituisce un array contenente oggetti che rappresentano tutti gli attributi personalizzati applicati al tipo rappresentato dall’oggetto corrente.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
ParametroTipoDescrizione
attributeTypeconst TypeInfo&Tipo di attributo da cercare.
inheritboolIndica se controllare anche gli attributi ereditati.

Vedi anche