Addition to Steve Peschka's PartCheck code

I ran into a problem when trying to use Peschka's PartCheck code for My Site autoconfiguration to modify some boolean fields on the Colleague Tracker web part and found some modifications you'll need to make in order to set boolean fields on controls with this code:

private object GetPropertySetterValue(string Value) {  ...  switch {    ...    default:      bool result;<br> if (bool.TryParse(Value, out result))<br> return result;       break;  }  ...}

This will allow the boolean value to be passed correctly to the control.