Is there any way to do this? I try to test if a property of an object exists and if it does, I want to set a value to it. (Maybe the complete idea is bad, if true - why?)
Yes, your looking for the PropertyInfo.SetValue method e.g.
var propInfo = info.GetType().GetProperty(propertyName); if (propInfo != null) { propInfo.SetValue(info, value, null); }