IWebFormsDocumentService 介面

定義

警告

The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202

提供方法以存取服務,這些服務包括追蹤 (Tracking) Web Form 文件的載入狀態、處理載入時間 (Load Time) 的事件、存取文件的位置、管理文件的復原服務以及設定新的文件選取範圍。

public interface class IWebFormsDocumentService
public interface IWebFormsDocumentService
[System.Obsolete("The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202")]
public interface IWebFormsDocumentService
type IWebFormsDocumentService = interface
[<System.Obsolete("The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202")>]
type IWebFormsDocumentService = interface
Public Interface IWebFormsDocumentService
屬性

備註

注意

IWebFormsDocumentService 介面已經過時。 使用 WebFormsRootDesigner 類別來取得對等的設計工具功能。

屬性

DocumentUrl

取得文件所在的 URL。

IsLoading

取得值,指出目前是否正在載入文件服務。

方法

CreateDiscardableUndoUnit()

建立一個可捨棄的復原單位。

DiscardUndoUnit(Object)

捨棄指定的復原單位。

EnableUndo(Boolean)

啟用對可復原動作單位或異動的復原動作功能。

UpdateSelection()

當在衍生類別中實作時,更新目前的選取範圍。

事件

LoadComplete

當完成載入服務時發生。

適用於

另請參閱