共用方式為


ITeamExplorerSection 介面

Team Explorer 部分介面。

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

語法

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

ITeamExplorerSection 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 IsBusy 取得區段忙碌狀態。如果忙碌狀態變更, PropertyChanged 事件應引發事件。
公用屬性 IsExpanded 取得區段展開狀態。如果展開的狀態變更時, PropertyChanged 事件應引發事件。
公用屬性 IsVisible 取得區段的可視性。如果可視性變更,則應引發 PropertyChanged 事件。
公用屬性 SectionContent 取得區段的內容。如果內容已變更,則應引發 PropertyChanged 事件。
公用屬性 Title 取得此區段的標題。如果標題變更,則應引發 PropertyChanged 事件。

回頁首

方法

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

回頁首

事件

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

回頁首

擴充方法

  名稱 說明
公用擴充方法 GetId 取得區段的 ID。 (以 ITeamExplorerSectionExtensions 定義。)
公用擴充方法 GetProperty 取得區段屬性。 (以 ITeamExplorerSectionExtensions 定義。)
公用擴充方法 SetProperty 設定部分屬性。 (以 ITeamExplorerSectionExtensions 定義。)

回頁首

請參閱

參考

Microsoft.TeamFoundation.Controls 命名空間