System::Attribute::GetCustomAttributes-metoden

Attribute::GetCustomAttributes method

Returnerar alla anpassade attribut som tillämpas på den angivna typen.

static ArrayPtr<Object::ptr> System::Attribute::GetCustomAttributes(const TypeInfo &type)
ParameterTypeBeskrivning
typconst TypeInfo&Typens attribut som ska hämtas

ReturnValue

En array som innehåller attribut som tillämpas på den angivna typen

Se även