I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, the Fields are there, but the following code doesn't seem to work:
SPView view = list.Views; view.ViewFields.Add("Value"); view.Update();
Going from the MSDN Documentation on the subject I really can't see what I'm doing wrong. No exceptions are being thrown, the list only has the one view, so... any thoughts?