SPField.OnAdded Method

Handles the event that occurs after a field is added.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overridable Sub OnAdded ( _
    op As SPAddFieldOptions _
)
'Usage
Dim instance As SPField
Dim op As SPAddFieldOptions

instance.OnAdded(op)
public virtual void OnAdded(
    SPAddFieldOptions op
)

Parameters

Remarks

Use this method in a derived class to provide custom logic when a field is added.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace