Condividi tramite


Code Sample: Custom Field

Applies to: SharePoint Foundation 2010

The Microsoft SharePoint Foundation SDK includes a C# sample that shows how to create a custom field (column) that can be added to SharePoint Foundation lists. It implements a field that holds the 10 digit ISBN code of a book.

To download the SDK

  1. Navigate to https://www.microsoft.com/downloads/details.aspx?FamilyID=f0c9daf3-4c54-45ed-9bde-7b4d83a8f26f\&displaylang=en

  2. Follow the instructions to download the SDK.

To use the sample

  1. The sample is a ZIP file located in a subfolder of %PROGRAMFILES%\Microsoft SDKs.

  2. Extract the files, preserving the folder structure.

  3. Open the solution file in Visual Studio.

  4. Read the ReadMe file included with the sample.

Demonstrates

How to create a custom field (column) that can be added to SharePoint Foundation lists.