Delen via


ContextManager.CurrentContext Property

The current context for the Team Explorer window.

Namespace:  Microsoft.VisualStudio.Services.Integration
Assembly:  Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)

Syntax

'Declaration
Public Property CurrentContext As ITeamFoundationContext
public ITeamFoundationContext CurrentContext { get; private set; }
public:
virtual property ITeamFoundationContext^ CurrentContext {
    ITeamFoundationContext^ get () sealed;
    private: void set (ITeamFoundationContext^ value) sealed;
}
abstract CurrentContext : ITeamFoundationContext with get, private set 
override CurrentContext : ITeamFoundationContext with get, private set
final function get CurrentContext () : ITeamFoundationContext 
private final function set CurrentContext (value : ITeamFoundationContext)

Property Value

Type: Microsoft.TeamFoundation.Client.ITeamFoundationContext
Returns ITeamFoundationContext.

Implements

ITeamFoundationContextManager.CurrentContext

.NET Framework Security

See Also

Reference

ContextManager Class

Microsoft.VisualStudio.Services.Integration Namespace