View Single Post
  #2 (permalink)  
Old March 7th, 2005, 08:12 AM
jacob jacob is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen, , Denmark.
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ups... I have just realized that I can interface myself out of this problem...
Code:
attribute = (IMyAttribute)Attribute.GetCustomAttribute(t, attributeType);
Still if anyone thinks this is an ugly solution let me know. Naturally I would like to do it the right way.

Thanks anyway, Jacob.