Great! Thanks. Would there be a way to retrieve a property's attribute dynamically? Meaning, could I create a function that would return the CustomLabelAttribute for any property I pass to it?
Thanks!
I've looked around for discussion on this topic, but wasn't able to find it.
I am trying to retrieve the Attributes of a class's property specifically.
So for example. Let's say I have a class called "Employee", and a custom attribute called CustomLabelAttribute with a string value. What...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.