Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
Public Overridable Sub OnDeleting
'Usage
Dim instance As SPField
instance.OnDeleting()
public virtual void OnDeleting()
Remarks
Use this method in a derived class to provide custom field logic before deleting the field.