共用方式為


ProjectContext Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.ProjectContext

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'宣告
Public NotInheritable Class ProjectContext _
    Implements IProjectContext
public sealed class ProjectContext : IProjectContext
public ref class ProjectContext sealed : IProjectContext
[<Sealed>]
type ProjectContext =  
    class
        interface IProjectContext
    end
public final class ProjectContext implements IProjectContext

The ProjectContext type exposes the following members.

Constructors

  Name Description
Public method ProjectContext(String)
Public method ProjectContext(TeamFoundationServer, String, String) Obsolete.
Public method ProjectContext(TfsTeamProjectCollection, String, String)
Public method ProjectContext(String, String, String, String)

Top

Properties

  Name Description
Public property DomainName
Public property DomainUri
Public property ProjectName
Public property ProjectUri

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TeamFoundation Namespace