共用方式為


ITeamExplorerPage 介面

Team Explorer 網頁介面。

命名空間:  Microsoft.TeamFoundation.Controls
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Interface ITeamExplorerPage _
    Inherits IDisposable, INotifyPropertyChanged
public interface ITeamExplorerPage : IDisposable, 
    INotifyPropertyChanged

ITeamExplorerPage 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 IsBusy 取得這個頁面忙碌狀態。如果忙碌狀態變更, PropertyChanged 事件應引發事件。
公用屬性 PageContent 取得這個頁面的內容。如果內容已變更,則應引發 PropertyChanged 事件。
公用屬性 Title 取得這個 Web 網頁的標題。如果標題變更,則應引發 PropertyChanged 事件。

回頁首

方法

  名稱 說明
公用方法 Cancel 移除這個頁面的目前正在執行的所有作業。
公用方法 Dispose 執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 (繼承自 IDisposable)。
公用方法 GetExtensibilityService 取得這個頁面要求的擴充性服務。
公用方法 Initialize 使用此頁面。
公用方法 Loaded 網頁和所有區段都已建立並初始化。
公用方法 Refresh 重新整理頁面。
公用方法 SaveContext 網頁應該保留內容。這個呼叫,在另一個網頁的巡覽, Team 專案內容切換,依此類推。

回頁首

事件

  名稱 說明
公用事件 PropertyChanged 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。

回頁首

擴充方法

  名稱 說明
公用擴充方法 Close 在 頁面。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetFocusedSection 取得這個頁面的焦點的部分。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetId 取得這個頁面的 ID。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetProperty 取得網頁的屬性。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetSection 取得這個 Web 網頁的區段具有指定 ID 的。. (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetSections 取得這個頁面的一部分。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 GetService<T> 取得要求的服務。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 RefreshPageAndSections 重新整理頁面和它的一部分。 (以 ITeamExplorerPageExtensions 定義。)
公用擴充方法 SetProperty 設定網頁屬性。 (以 ITeamExplorerPageExtensions 定義。)

回頁首

請參閱

參考

Microsoft.TeamFoundation.Controls 命名空間