System::Reflection::MemberInfo::GetCustomAttributes método

MemberInfo::GetCustomAttributes(bool) const method

Devuelve una matriz que contiene objetos que representan todos los atributos personalizados aplicados al tipo representado por el objeto actual.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
ParámetroTipoDescripción
inheritboolSi se deben comprobar también los atributos heredados.

Ver también

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

Devuelve una matriz que contiene objetos que representan todos los atributos personalizados aplicados al tipo representado por el objeto actual.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
ParámetroTipoDescripción
attributeTypeconst TypeInfo&Tipo de atributo a buscar.
inheritboolSi se deben comprobar también los atributos heredados.

Ver también