Hello ,
I would like to ask about the following issue:
I am activating this code after i created the InitializationAttribute
and added it above objects:
PropertyInfo[] properties = this.GetType().GetProperties();
foreach (PropertyInfo property in properties)
{
object[] attributes =
property.GetCustomAttributes(typeof(Initialization Attribute),true);
}
I get an empty list of object[] attributes although I have objects
which are signed with this attribute in code.
Why is that?
Thank u!
*** Sent via Developersdex http://www.developersdex.com ***