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

SPField.OnDeleting Method

Handles the event that occurs when a field is being deleted.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public virtual void OnDeleting()

Use this method in a derived class to provide custom field logic before deleting the field.

Show:
© 2015 Microsoft