SPFieldCollection.CreateSPFieldCallback Delegate
Allows a callback to be established for a field within a collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Delegate Function CreateSPFieldCallback ( _
fieldClassName As String, _
collection As SPFieldCollection, _
fieldName As String _
) As SPField
Dim instance As New CreateSPFieldCallback(AddressOf HandlerMethod)
public delegate SPField CreateSPFieldCallback(
string fieldClassName,
SPFieldCollection collection,
string fieldName
)
Parameters
- fieldClassName
Type: System.String
The type of field that is being associated with an event, like SPContentType, SPFile, SPList, SPListItem, SPWeb, or SPWorkflow class.
- collection
Type: Microsoft.SharePoint.SPFieldCollection
The collection in which the SPField resides.
- fieldName
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.
Remarks
Initializes an instance of the SPFieldCollection.CreateSPFieldCallback class for use in event handling for SPField objects.
See Also
Reference
Microsoft.SharePoint Namespace
AddSPFieldCreatorDelegate(SPFieldCollection.CreateSPFieldCallback)