Método System::Attribute::GetCustomAttribute

Attribute::GetCustomAttribute method

Devuelve un atributo personalizado de un tipo especificado aplicado al tipo especificado.

static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
ParámetroTipoDescripción
tipoconst TypeInfo&Atributo del tipo que se recupera
attributeTypeconst TypeInfo&Tipo del atributo a recuperar

ReturnValue

Un atributo recuperado o null si el tipo especificado no tiene un atributo del tipo especificado.

Ver también