Handles the event that occurs before a field link is added to a content type.
'Declaration Public Overridable Sub FieldAdding ( _ properties As SPListEventProperties _ ) 'Usage Dim instance As SPListEventReceiver Dim properties As SPListEventProperties instance.FieldAdding(properties)
public virtual void FieldAdding( SPListEventProperties properties )
The properties of the list event.
The FieldAdding event is not raised when a field is added to the list by adding a content type to the list.
Do not attempt to cancel the event by setting the value of the Status property of properties to CancelNoError, since doing so only redirects the user to the "Column does not exist" error page.