SPField.OnAddingToContentType Method
SharePoint 2010
Handles the event that occurs when a field is added to 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
The content type to which the field is added.