SP.ViewFieldCollection.add(strField) Method

Applies to: SharePoint Foundation 2010

Adds the field with the specified field internal name or display name to the collection.

SP.ViewFieldCollection.add(strField);

Parameters

  • strField
    Specifies the field internal name or the display name

Type: string

Applies To

SP.ViewFieldCollection Class

Remarks

It must not be null.

See Also

Reference

SP.ViewFieldCollection Methods

SP.ViewFieldCollection Properties

SP Namespace