SPFieldIndexCollection.Add method

Adds the specified index definition to the collection of SPFieldIndex objects.

Overload list

  Name Description
Public method Add(SPField) Adds an index definition to the collection. This method includes one specified field in the index definition.
Public method Add(SPField, SPField) Adds an index definition to the collection. This method includes two specified fields in the index definition.

Top

See also

Reference

SPFieldIndexCollection class

SPFieldIndexCollection members

Microsoft.SharePoint namespace