This documentation is archived and is not being maintained.

SPFieldCollection.CreateSPFieldCallback Delegate

Windows SharePoint Services 3

Allows a callback to be established for a field within a collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public delegate SPField CreateSPFieldCallback(
	string fieldClassName,
	SPFieldCollection collection,
	string fieldName


Type: System.String
The type of field that is being associated with an event, like SPContentType, SPFile, SPList, SPListItem, SPWeb, or SPWorkflow class.
Type: Microsoft.SharePoint.SPFieldCollection
The collection in which the SPField resides.
Type: System.String
The name of the object that is being associated with an event.

Return Value

Type: Microsoft.SharePoint.SPField
A SPFieldCollection.CreateSPFieldCallback object for use in Windows SharePoint Services event handling.

Initializes an instance of the SPFieldCollection.CreateSPFieldCallback class for use in event handling for SPField objects.