Ho provato cosi':

for (int i = 0; i < reader.AttributeCount; i++)
{
reader.MoveToAttribute(i);
Type t = this.GetType();
PropertyInfo mi = t.GetProperty(reader.Name);
Object[] param = new Object[1];
param[0] = (Object)reader.Value;
if (mi != null)
mi.SetValue(this,param, null); <---
}

ma ottengo l'errore nella riga con la freccia:


Un oggetto di tipo 'System.Object[]' non può essere convertito nel tipo 'System.Drawing.Image'.

Il particolare caso in cui ottengo l'errore e' che reader.Name = TrasparencyKeye reader.Value=White