Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnAdded method

SPField.OnAdded method

Handles the event that 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

One of the enumeration values to specify an option that is implemented after the field is created.

Use this method in a derived class to provide custom logic when a field is added.

© 2015 Microsoft