OnDeleting Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPField.OnDeleting Method

Windows SharePoint Services 3

Occurs when a field is being deleted.

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

public virtual void OnDeleting()

The OnDeleting method enables you to provide custom field type logic that runs before deletion of the custom field.

© 2015 Microsoft