Rabu, 09 Maret 2011
Iterate Over Object Properties and Property Attributes w/Reflection
Define custom attribute class as follows as well as placing the attribute reference on the property “FirstName”. In the following we are creating our own custom attribute by defining an attribute class which derives from Attribute which makes identifying attribute definitions in metadata easy. The AttributeUsage attribute can be used to limit which asset the attribute can be placed such as
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar