共用方式為


SPFieldIndexCollection members

Include protected members
Include inherited members

表示SPFieldIndex物件的集合。

The SPFieldIndexCollection type exposes the following members.

Properties

  Name Description
Public propertyStatic member Capacity 取得值,這個值是集合物件中包含的SPFieldIndex物件的最大數目。
Public property Count 在SPFieldIndexCollection中取得SPFieldIndex物件的數目。 (Overrides SPBaseCollection.Count.)
Public property Item[Guid] 在SPFieldIndexCollection中取得具有指定之 GUID 的SPFieldIndex物件。
Public property Item[Int32] 在SPFieldIndexCollection中取得具有指定索引的SPFieldIndex物件。

Top

Methods

  Name Description
Public method Add(SPField) 加入集合中的索引定義。這個方法會在索引定義中包含一個指定的欄位。
Public method Add(SPField, SPField) 加入集合中的索引定義。這個方法會在索引定義中包含兩個指定的欄位。
Public method CopyTo .NET Framework 4Copies 欄位的項目索引集合至陣列,指定索引處開始。
Public method Delete 刪除SPFieldIndex物件。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator 取得列舉值來逐一查看集合。 (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> 傳回逐一查看集合的型別安全列舉值。 (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo 陣列,指定的陣列索引處開始複製集合的項目。 (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized 取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。 (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot 取得用於同步化存取集合的物件。 (Inherited from SPBaseCollection.)

Top

請參閱

參照

SPFieldIndexCollection class

Microsoft.SharePoint namespace