共用方式為


SPFieldIndexCollection.Add method

Include protected members
Include inherited members

將指定的索引定義加入至SPFieldIndex物件的集合。

Overload list

  Name Description
Public method Add(SPField) 加入集合中的索引定義。這個方法會在索引定義中包含一個指定的欄位。
Public method Add(SPField, SPField) 加入集合中的索引定義。這個方法會在索引定義中包含兩個指定的欄位。

Top

請參閱

參照

SPFieldIndexCollection class

SPFieldIndexCollection members

Microsoft.SharePoint namespace