共用方式為


SPViewFieldCollection members

Include protected members
Include inherited members

表示在檢視中傳回欄位的集合。

The SPViewFieldCollection type exposes the following members.

Properties

  Name Description
Public property Count 取得集合中的檢視欄位數目。 (Overrides SPBaseCollection.Count.)
Public property Item 取得集合中的 [檢視] 欄位中指定索引處的內部名稱。
Public property SchemaXml 取得指定集合中的 [檢視] 欄位的結構描述。
Public property View 取得集合中的父檢視。

Top

Methods

  Name Description
Public method Add(String) 將具有指定名稱的欄位加入至集合。
Public method Add(SPField) 將指定的欄位加入至集合。
Public method Delete(String) 從集合中刪除具有指定名稱的欄位。
Public method Delete(SPField) 從集合中刪除指定的欄位。
Public method DeleteAll 從集合中刪除所有檢視的欄位。
Public method Equals (Inherited from Object.)
Public method Exists 傳回布林值,指出指定的檢視欄位是否存在。
Public method Explicit(Int32) 驗證是否在集合中指定索引處的欄位將在檢視表定義中明確宣告。
Public method Explicit(String) 驗證是否具有指定名稱在集合中的欄位將在檢視表定義中明確宣告。
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 MoveFieldTo 將指定的欄位移至檢視的欄位集合中指定的位置。
Public method MoveFieldTo_Client 將欄位移至檢視的欄位集合中的特定位置,並更新檢視。第一個位置為 0。
Public method ToString (Inherited from Object.)
Public method ToStringCollection 載入StringCollection物件的檢視欄位名稱。

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

請參閱

參照

SPViewFieldCollection class

Microsoft.SharePoint namespace