M
M
Is it possible to define an attribute that describes a property of a
class at runtime?
For example, you have a class called "employee", and it has a property
"name". The "name" property has an attribute that tells any calling
code whether or not this property is "writable" and/or "readable", even
though this property has both get/set accessors.
Maybe there is another way to do this, and I just don't have enough
experience.
Any help is appreciated.
class at runtime?
For example, you have a class called "employee", and it has a property
"name". The "name" property has an attribute that tells any calling
code whether or not this property is "writable" and/or "readable", even
though this property has both get/set accessors.
Maybe there is another way to do this, and I just don't have enough
experience.
Any help is appreciated.