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 | |
---|---|---|
![]() |
Capacity | (Inherited from CollectionBase.) |
![]() |
Count | (Inherited from CollectionBase.) |
![]() |
InnerList | (Inherited from CollectionBase.) |
![]() |
IsSynchronized | Obsolete. 已過時。取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。 |
![]() |
Item[Guid] | Obsolete. 已過時。從集合中取得具有指定之 GUID 的網頁組件物件。在 C# 中,這個屬性會是SPWebPartCollection類別的索引子。 |
![]() |
Item[Int32] | Obsolete. 已過時。取得網頁組件物件在集合中指定之索引處。在 C# 中,這個屬性會是SPWebPartCollection類別的索引子。 |
![]() |
List | (Inherited from CollectionBase.) |
![]() |
ServerRelativeUrl | Obsolete. 已過時。取得集合中的伺服器相對 URL。 |
![]() |
Storage | Obsolete. 已過時。取得用來建立集合的儲存模式。 |
![]() |
SyncRoot | Obsolete. 已過時。取得用於同步化存取集合的物件。 |
![]() |
Web | Obsolete. 已過時。取得集合的父網站之內。 |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add(ListViewWebPart) | Obsolete. 已過時。將指定的清單檢視網頁組件加入至集合。 |
![]() |
Add(WebPart) | Obsolete. 已過時。將指定的網頁組件加入至集合。 |
![]() |
Add(String) | Obsolete. 已過時。根據指定的 Web 組件定義檔案集合中新增網頁組件。 |
![]() |
Add(WebPart, Boolean) | Obsolete. 已過時。 |
![]() |
CacheInvalidate | Obsolete. 已過時。快取失效的網頁組件,包括 [輸出] 和 [網頁組件快取。 |
![]() |
Clear | Obsolete. 已過時。 |
![]() |
Contains | Obsolete. 已過時。傳回布林值,指出指定的網頁組件是否包含在集合中。 |
![]() |
CopyTo | Obsolete. 已過時。將集合的元素複製到網頁組件物件,指定的陣列索引處開始的陣列。 |
![]() |
Delete | Obsolete. 已過時。從集合中刪除網頁組件,以指定的 GUID。 |
![]() |
DeleteAllPersonalizations() | Obsolete. 已過時。從集合中刪除所有使用者的所有個人化項目。 |
![]() |
DeleteAllPersonalizations(Int32) | Obsolete. 已過時。從集合中刪除所有個人化項目,由使用者利用指定的識別碼。 |
![]() |
DeletePersonalizations | Obsolete. 已過時。刪除指定的 GUID 與 [網頁組件的個人化項目。 |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Obsolete. 已過時。傳回逐一查看集合的列舉值。 |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
IndexOf | Obsolete. 已過時。傳回集合的索引指定的網頁組件。 |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnClear | (Inherited from CollectionBase.) |
![]() |
OnClearComplete | (Inherited from CollectionBase.) |
![]() |
OnInsert | (Inherited from CollectionBase.) |
![]() |
OnInsertComplete | (Inherited from CollectionBase.) |
![]() |
OnRemove | (Inherited from CollectionBase.) |
![]() |
OnRemoveComplete | (Inherited from CollectionBase.) |
![]() |
OnSet | (Inherited from CollectionBase.) |
![]() |
OnSetComplete | (Inherited from CollectionBase.) |
![]() |
OnValidate | (Inherited from CollectionBase.) |
![]() |
RemoveAt | Obsolete. 已過時。 |
![]() |
SaveChanges | Obsolete. 已過時。儲存至單一的 Web 組件所做的變更。 |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
![]() ![]() |
IList.Add | Obsolete. |
![]() ![]() |
IList.Clear | Obsolete. |
![]() ![]() |
IList.Insert | Obsolete. |
![]() ![]() |
IList.Remove | Obsolete. |
![]() ![]() |
IList.RemoveAt | Obsolete. |
![]() ![]() |
IList.Contains | (Inherited from CollectionBase.) |
![]() ![]() |
ICollection.CopyTo | (Inherited from CollectionBase.) |
![]() ![]() |
IList.IndexOf | (Inherited from CollectionBase.) |
![]() ![]() |
IList.IsFixedSize | (Inherited from CollectionBase.) |
![]() ![]() |
IList.IsReadOnly | (Inherited from CollectionBase.) |
![]() ![]() |
ICollection.IsSynchronized | (Inherited from CollectionBase.) |
![]() ![]() |
IList.Item | (Inherited from CollectionBase.) |
![]() ![]() |
ICollection.SyncRoot | (Inherited from CollectionBase.) |
Top