SPBusinessDataField.OnAdded Method
Handles the event that occurs after a field is added and applies the specified options.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Sub OnAdded ( _
op As SPAddFieldOptions _
)
'Usage
Dim instance As SPBusinessDataField
Dim op As SPAddFieldOptions
instance.OnAdded(op)
public override void OnAdded(
SPAddFieldOptions op
)
Parameters
op
Type: Microsoft.SharePoint.SPAddFieldOptionsThe option used to add this field to the field collection.
Remarks
This override creates the necessary auxiliary fields and constructs schema XML with information about the fields.