I\'m using a custom attribute inherited from an attribute class. I\'m using it like this:
[MyCustomAttribute(\"CONTROL\")] [MyCustomAttribute(\"ALT\")] [MyCustom
Anton's solution is correct, but there is another gotcha.
In short, unless your custom attrbiute overrides TypeId, then accessing it through PropertyDescriptor.GetCustomAttributes() will only return a single instance of your attribute.
PropertyDescriptor.GetCustomAttributes()