Adding Columns to a Provisioned List
You can use the SharePoint Foundation object model to programmatically add columns to provisioned lists.
To add a column to a provisioned list
- Use the Fields property to access the collection of list columns on the specified list. This method returns anSPFieldCollection object.
- Use one of the following methods of the returned SPFieldCollection object to add a new column to the list: