If the code below gets a property by constructing the property name how would i set it?
say i want to set the property availabilityMonth.Day07 = 12 for e.g?
how would i do that?
im trying something like:
tyMonth, 2, Reflection.BindingFlags.Se
but not getting very far?
Dim dayAvailability As Reflection.PropertyInfo = Nothing
dayAvailability = _availabilityMonth.GetType.GetProperty("Day" + monthDay.ToString())