ITeamExplorer 接口

团队资源管理器 接口。

命名空间:  Microsoft.TeamFoundation.Controls
程序集:  Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)

语法

声明
<GuidAttribute("73CABA5D-2A8F-48A7-BFD0-E7D2F8455E77")> _
Public Interface ITeamExplorer _
    Inherits IServiceProvider, INotifyPropertyChanged
[GuidAttribute("73CABA5D-2A8F-48A7-BFD0-E7D2F8455E77")]
public interface ITeamExplorer : IServiceProvider, 
    INotifyPropertyChanged

ITeamExplorer 类型公开以下成员。

属性

  名称 说明
公共属性 CurrentPage 获取当前页。;如果没有当前页,则可以为空。当该属性更改,PropertyChanged事件将会激发。

页首

方法

  名称 说明
公共方法 ClearNotifications 清除不需要用户的确认的所有通知。
公共方法 ClosePage 关闭指定的页。
公共方法 GetService 获取指定类型的服务对象。 (继承自 IServiceProvider。)
公共方法 HideNotification 移除通知显示使用指定的ID从通知区域。
公共方法 IsNotificationVisible 确定通知与该指定的ID当前是否显示在 团队资源管理器。
公共方法 NavigateToPage 导航到指定的页。
公共方法 ShowNotification 显示一通知消息。团队资源管理器 工具窗口。

页首

事件

  名称 说明
公共事件 PropertyChanged 在更改属性值时发生。 (继承自 INotifyPropertyChanged。)

页首

扩展方法

  名称 说明
公共扩展方法 GetService<T>() 已重载。 (由 IServiceProviderExtensions 定义。)
公共扩展方法 GetService<T, V>() 已重载。 (由 IServiceProviderExtensions 定义。)

页首

请参见

参考

Microsoft.TeamFoundation.Controls 命名空间