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 deleted from a specified content type.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Sub OnDeletingFromContentType ( _
contentType As SPContentType _
)
'Usage
Dim instance As SPField
Dim contentType As SPContentType
instance.OnDeletingFromContentType(contentType)
public virtual void OnDeletingFromContentType(
SPContentType contentType
)
contentType
Type: Microsoft.SharePoint.SPContentTypeA 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.