SPField.OnDeleting method

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

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

'Declaration
Public Overridable Sub OnDeleting
'Usage
Dim instance As SPField

instance.OnDeleting()

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

Show: