SqlDialogPage 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於建立自訂屬性頁面的對話頁面。
public ref class SqlDialogPage : Microsoft::VisualStudio::Shell::DialogPage
[System.Runtime.InteropServices.ComVisible(true)]
public class SqlDialogPage : Microsoft.VisualStudio.Shell.DialogPage
[<System.Runtime.InteropServices.ComVisible(true)>]
type SqlDialogPage = class
inherit DialogPage
Public Class SqlDialogPage
Inherits DialogPage
- 繼承
-
SqlDialogPage
- 衍生
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| SqlDialogPage() |
初始化 SqlDialogPage 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| AutomationObject |
取得類別中特定物件 SqlDialogPage 的 DTE 自動化模型物件。 |
| PropertySheet |
如果存在物件,則得到 SqlPropertySheet 物件;否則,創造物件 SqlPropertySheet 。 |
| Window |
取得對話頁面的使用者介面視窗。 |
方法
| 名稱 | Description |
|---|---|
| CreatePropertySheet() |
虛擬方法,建立一個 SqlPropertySheet 物件。 |
| LoadSettingsFromStorage() |
shell 會呼叫 override 來從本地儲存裝置載入對話頁面設定,通常是登錄檔。 |
| LoadSettingsFromXml(IVsSettingsReader) |
由 Visual Studio Shell 呼叫,從磁碟上的 Visual Studio shell 設定儲存裝置載入對話框頁面設定。 |
| OnActivate(CancelEventArgs) |
處理來自 Visual Studio shell 環境的 Windows 啟用訊息。 |
| OnApply(DialogPage+PageApplyEventArgs) |
處理來自 Visual Studio 環境的套用訊息。 |
| OnDeactivate(CancelEventArgs) |
處理 Visual Studio shell 環境中的停用訊息。 |
| ResetSettings() |
將設定重設為預設值。 |