Export (0) Print
Expand All

SPFieldCollection.Add Method (SPField)

Windows SharePoint Services 3

Adds a field to the collection based on the specified field.

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

'Declaration
Public Function Add ( _
	field As SPField _
) As String
'Usage
Dim instance As SPFieldCollection
Dim field As SPField
Dim returnValue As String

returnValue = instance.Add(field)

Parameters

field
Type: Microsoft.SharePoint.SPField
An SPField object that represents the field.

Return Value

Type: System.String
A string that contains the name of the new field.

Community Additions

ADD
Show:
© 2014 Microsoft