System::Attribute::GetCustomAttribute method

Attribute::GetCustomAttribute method

Renvoie un attribut personnalisé d’un type spécifié appliqué au type spécifié.

static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
ParamètreTypeDescription
typeconst TypeInfo&Attribut de type qui est récupéré
attributeTypeconst TypeInfo&Type de l’attribut à récupérer

ReturnValue

Un attribut récupéré ou null si le type spécifié ne possède pas d’attribut du type spécifié.

Voir aussi