This documentation is archived and is not being maintained.

SPField.OnAdded Method

Windows SharePoint Services 3

Occurs after a field is added.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public virtual void OnAdded(
	SPAddFieldOptions op


Type: Microsoft.SharePoint.SPAddFieldOptions
An SPAddFieldOptions value that specifies an option that is implemented after the field is created.

The OnAdded method allows you to provide custom field type logic that runs when a custom field is added.