Metodo System::TypeInfo::GetCustomAttribute

TypeInfo::GetCustomAttribute method

Cerca l’attributo personalizzato applicato che ha il tipo specificato e applicato al tipo rappresentato dall’oggetto corrente.

ObjectPtr System::TypeInfo::GetCustomAttribute(const TypeInfo &attributeType) const
ParametroTipoDescrizione
attributeTypeconst TypeInfo&Il riferimento costante all’oggetto TypeInfo che rappresenta il tipo dell’attributo da cercare

ReturnValue

Un puntatore a un oggetto che rappresenta l’attributo trovato, o puntatore nullo se nessun attributo corrisponde ai criteri di ricerca

Vedi anche