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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Delegate Function CreateSPFieldCallback ( _
fieldClassName As String, _
collection As SPFieldCollection, _
fieldName As String _
) As SPField
'Usage
Dim instance As New CreateSPFieldCallback(AddressOf HandlerMethod)
public delegate SPField CreateSPFieldCallback(
string fieldClassName,
SPFieldCollection collection,
string fieldName
)
Parameters
fieldClassName
Type: System.StringThe type of field that is being associated with an event; for example, SPContentType, SPFile, SPList, SPListItem, SPWeb, or SPWorkflow class.
collection
Type: Microsoft.SharePoint.SPFieldCollectionThe collection in which the SPField resides.
fieldName
Type: System.StringThe name of the object that is being associated with an event.
Return Value
Type: Microsoft.SharePoint.SPField
Remarks
An SPField object that represents the field.