共用方式為


SPLimitedWebPartManager members

Include protected members
Include inherited members

提供一組有限的可執行的物件模型的案例中,沒有 HttpContext 和不具現化的頁面物件時的網頁組件作業。

The SPLimitedWebPartManager type exposes the following members.

Properties

  Name Description
Public property HasPersonalizedParts 取得布林值為 HasPersonalizedParts。
Public property Scope 取得目前個人化範圍的 WebPartPage。
Public property ServerRelativeUrl 取得伺服器相對 URL 的 WebPartPage。
Public property SPWebPartConnections 取得集合 SPWebPartConnection。
Public property Web 取得這個網頁組件會儲存在 web。
Public property WebParts 取得在 WebPartPage 上的所有動態 Web 組件集合。

Top

Methods

  Name Description
Public method AddWebPart 將動態網頁組件加入至 WebPartPage。
Public method CacheInvalidate 使快取的資料。
Public method CloseWebPart 關閉動態的 「 網頁組件的方式它將不會呈現在 WebPartPage,但可以藉由呼叫 OpenWebPart 重新開啟。
Public method DeleteWebPart 從 WebPartPage 刪除動態的 Web 組件。
Public method Dispose 釋放由 SPLimitedWebPartManager 物件所有的 unmanaged 的資源。
Public method Equals (Inherited from Object.)
Public method ExportWebPart 序列化 XmlWriter 為指定的網頁組件為 *.dwp 或 *.webpart 檔案。
Protected method Finalize (Inherited from Object.)
Public method GetConsumerConnectionPoints 取得 ConsumerConnectionPoint 的集合。
Public method GetHashCode (Inherited from Object.)
Public method GetProviderConnectionPoints 取得 ProviderConnectionPoint 的集合。
Public method GetStorageKey 取得 Web 組件加入至網頁組件區域時,Web 組件架構所設定的唯一識別項。
Public method GetType (Inherited from Object.)
Public method GetZoneID 取得網頁組件網頁組件區域。
Public method ImportWebPart 匯入 XML 描述檔 (*.dwp 或 *.webpart) 的 「 網頁組件中包含狀態和屬性的資料,並將資料套用至 [網頁組件。
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveWebPart 將網頁組件從一個網頁組件區域移到另一個,或可以用來變更 Web 組件區域內的相對順序。
Public method OpenWebPart 開啟先前關閉的 CloseWebPart 讓它在 WebPartPage 上呈現動態網頁組件。
Public method ResetAllPersonalizationState 刪除集合中的所有網頁組件,包括型別 3"包含為我 「 網頁組件個人化資訊。如果集合包含個人化的網頁組件資訊 (Storage.AllUsers = = 儲存體) 然後刪除目前使用者的網頁組件上的個人化,否則刪除所有使用者。
Public method ResetPersonalizationState 重設個人化狀態的特定動態 Web 上的組件 WebPartPage。
Public method SaveChanges 儲存指定的網頁組件的目前狀態。
Public method SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) 連接兩個相容的網頁組件連接點。
Public method SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) 連接使用連接變壓器的兩個 [網頁組件連接點。
Public method SPDisconnectWebParts 中斷連接兩個連接的 Web 組件。
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPLimitedWebPartManager class

Microsoft.SharePoint.WebPartPages namespace