SPListEventReceiver.FieldAdding Method (Microsoft.SharePoint)
Occurs when a field link is being added to a content type.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Overridable Sub FieldAdding ( _
    properties As SPListEventProperties _
)
Visual Basic (Usage)
Dim instance As SPListEventReceiver
Dim properties As SPListEventProperties

instance.FieldAdding(properties)
C#
public virtual void FieldAdding (
    SPListEventProperties properties
)

Parameters

properties

An SPListEventProperties object that represents properties of the event handler.

Remarks

The FieldAdding event does not occur when a field is added to the list by adding a content type to the list.

See Also

Tags :


Page view tracker