Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPField.OnDeletingFromContentType method

Handles the event that occurs when a field is deleted from a specified content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual void OnDeletingFromContentType(
	SPContentType contentType


Type: Microsoft.SharePoint.SPContentType

A content type from which the field is being deleted.

Use this method in a derived class to add custom logic before deleting a field from a content type.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.