Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Interface that provides access to methods and properties necessary to interact with Team Explorer.
This API is not CLS-compliant.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
<GuidAttribute("95BF1796-B83B-462f-ACCD-5656A09797BF")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsTeamExplorer
[GuidAttribute("95BF1796-B83B-462f-ACCD-5656A09797BF")]
[CLSCompliantAttribute(false)]
public interface IVsTeamExplorer
[GuidAttribute(L"95BF1796-B83B-462f-ACCD-5656A09797BF")]
[CLSCompliantAttribute(false)]
public interface class IVsTeamExplorer
[<GuidAttribute("95BF1796-B83B-462f-ACCD-5656A09797BF")>]
[<CLSCompliantAttribute(false)>]
type IVsTeamExplorer = interface end
public interface IVsTeamExplorer
The IVsTeamExplorer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
ConnectionState | Gets the current connection state of Team Explorer. |
![]() |
OnUIThread | Gets a flag indicating whether this object is on the user interface thread. |
![]() |
PortfolioExplorerPersistenceSlot | Gets the Guid of the Portfolio Explorer persistence slot. |
![]() |
TeamExplorerUIHierarchy | Gets the IVsUIHierarchy object representing the Team Explorer user interface hierarchy. |
![]() |
TeamExplorerWindow | Gets the IVsUIHierarchyWindow object representing the Team Explorer window. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
AddToFavorites | Adds the specified hierarchy to the list of favorites. |
![]() |
GetProjectContext() | Gets the current project context. |
![]() |
GetProjectContext(IVsUIHierarchy, UInt32) | Gets the current project context of the specified hierarchy. |
![]() |
InvokeInUIThread | Invokes the specified delegate method on the user interface thread. |
![]() |
QuerySetCurrentServerAndProject | Checks whether the specified server and project are the currently active server and project. |
![]() |
RefreshCompleted | Completes the refresh operation. |
![]() |
RefreshStarted | Starts the refresh operation. |
![]() |
RefreshTeamExplorerView | Refreshes the Team Explorer window. |
![]() |
SetCurrentServerAndProject | Sets the specified server and project as the currently active server and project. |
![]() |
StopRefreshingTeamExplorerView | Stops refreshing the Team Explorer window. |
Top
.gif)
.gif)