共用方式為


SPWebPartCollection members

Include protected members
Include inherited members

NOTE: This API is now obsolete.

使用SPFile類別的GetLimitedWebPartManager方法來傳回SPLimitedWebPartManager物件而是管理 Web 組件。

The SPWebPartCollection type exposes the following members.

Properties

  Name Description
Public property Capacity (Inherited from CollectionBase.)
Public property Count (Inherited from CollectionBase.)
Protected property InnerList (Inherited from CollectionBase.)
Public property IsSynchronized Obsolete. 已過時。取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。
Public property Item[Guid] Obsolete. 已過時。從集合中取得具有指定之 GUID 的網頁組件物件。在 C# 中,這個屬性會是SPWebPartCollection類別的索引子。
Public property Item[Int32] Obsolete. 已過時。取得網頁組件物件在集合中指定之索引處。在 C# 中,這個屬性會是SPWebPartCollection類別的索引子。
Protected property List (Inherited from CollectionBase.)
Public property ServerRelativeUrl Obsolete. 已過時。取得集合中的伺服器相對 URL。
Public property Storage Obsolete. 已過時。取得用來建立集合的儲存模式。
Public property SyncRoot Obsolete. 已過時。取得用於同步化存取集合的物件。
Public property Web Obsolete. 已過時。取得集合的父網站之內。

Top

Methods

  Name Description
Public method Add(ListViewWebPart) Obsolete. 已過時。將指定的清單檢視網頁組件加入至集合。
Public method Add(WebPart) Obsolete. 已過時。將指定的網頁組件加入至集合。
Public method Add(String) Obsolete. 已過時。根據指定的 Web 組件定義檔案集合中新增網頁組件。
Public method Add(WebPart, Boolean) Obsolete. 已過時。
Public method CacheInvalidate Obsolete. 已過時。快取失效的網頁組件,包括 [輸出] 和 [網頁組件快取。
Public method Clear Obsolete. 已過時。
Public method Contains Obsolete. 已過時。傳回布林值,指出指定的網頁組件是否包含在集合中。
Public method CopyTo Obsolete. 已過時。將集合的元素複製到網頁組件物件,指定的陣列索引處開始的陣列。
Public method Delete Obsolete. 已過時。從集合中刪除網頁組件,以指定的 GUID。
Public method DeleteAllPersonalizations() Obsolete. 已過時。從集合中刪除所有使用者的所有個人化項目。
Public method DeleteAllPersonalizations(Int32) Obsolete. 已過時。從集合中刪除所有個人化項目,由使用者利用指定的識別碼。
Public method DeletePersonalizations Obsolete. 已過時。刪除指定的 GUID 與 [網頁組件的個人化項目。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Obsolete. 已過時。傳回逐一查看集合的列舉值。
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf Obsolete. 已過時。傳回集合的索引指定的網頁組件。
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnClear (Inherited from CollectionBase.)
Protected method OnClearComplete (Inherited from CollectionBase.)
Protected method OnInsert (Inherited from CollectionBase.)
Protected method OnInsertComplete (Inherited from CollectionBase.)
Protected method OnRemove (Inherited from CollectionBase.)
Protected method OnRemoveComplete (Inherited from CollectionBase.)
Protected method OnSet (Inherited from CollectionBase.)
Protected method OnSetComplete (Inherited from CollectionBase.)
Protected method OnValidate (Inherited from CollectionBase.)
Public method RemoveAt Obsolete. 已過時。
Public method SaveChanges Obsolete. 已過時。儲存至單一的 Web 組件所做的變更。
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add Obsolete.
Explicit interface implemetationPrivate method IList.Clear Obsolete.
Explicit interface implemetationPrivate method IList.Insert Obsolete.
Explicit interface implemetationPrivate method IList.Remove Obsolete.
Explicit interface implemetationPrivate method IList.RemoveAt Obsolete.
Explicit interface implemetationPrivate method IList.Contains (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.Item (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from CollectionBase.)

Top

請參閱

參照

SPWebPartCollection class

Microsoft.SharePoint namespace