IWebFormsDocumentService 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 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
- 屬性
備註
Note
介面 IWebFormsDocumentService 已經過時了。 使用該 WebFormsRootDesigner 類別來實現等效的設計功能。
屬性
| 名稱 | Description |
|---|---|
| DocumentUrl |
已淘汰.
取得文件所在的網址。 |
| IsLoading |
已淘汰.
會取得一個值,表示文件服務目前是否正在載入中。 |
方法
| 名稱 | Description |
|---|---|
| CreateDiscardableUndoUnit() |
已淘汰.
會產生一個可丟棄的復原單元。 |
| DiscardUndoUnit(Object) |
已淘汰.
丟棄指定的復原單元。 |
| EnableUndo(Boolean) |
已淘汰.
能夠撤銷發生在不可執行的行動單元或交易內的行動。 |
| UpdateSelection() |
已淘汰.
當在衍生類別中實作時,會更新目前的選擇。 |
事件
| 名稱 | Description |
|---|---|
| LoadComplete |
已淘汰.
當服務完成載入時發生。 |