Export (0) Print
Expand All

SPFieldCollection.CreateNewField Method

Windows SharePoint Services 3

Creates a field based on the specified type name and display name.

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

public SPField CreateNewField(
	string typeName,
	string displayName
)

Parameters

typeName
Type: System.String
A string that contains the field type name.
displayName
Type: System.String
A string that contains the display name.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft