Share via


SPField.OnDeleting Method

Occurs when a field is being deleted.

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

Syntax

Public Overridable Sub OnDeleting

Dim instance As SPField

instance.OnDeleting()
public virtual void OnDeleting()

Remarks

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

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace