SPField.OnDeletingFromContentType Method
SharePoint 2010
Handles the event that occurs when a field is deleted from a specified content type.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- contentType
- Type: Microsoft.SharePoint.SPContentType
A content type from which the field is being deleted.
Don't use SPContentType.Update within this method
See http://www.chaholl.com/archive/2010/10/25/using-ondeletingfromcontenttype-in-sharepoint-2010.aspx for more info
- 10/25/2010
- Charlie Holland