SP.FieldLinkCollection.add(parameters) Method
Applies to: SharePoint Foundation 2010
Adds a content type field reference to the collection.
var value = SP.FieldLinkCollection.add(parameters);
Parameters
parameters
A SP.FieldLinkCreationInformation Class object that contains information about the field reference.It must not be null.
Type: SP.FieldLinkCreationInformation
Return Value
Type: SP.FieldLink
Applies To
Exceptions
- SPException
The referred to field cannot be found, a duplicate field name was found, the field does not have a display name, or this field collection is not associated with a list. Error code: -2146232832.
See Also
Reference
SP.FieldLinkCollection Methods