다음을 통해 공유


ProjectCollection Class

Represents a collection of projects.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
    Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectCollection

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

‘선언
Public NotInheritable Class ProjectCollection _
    Inherits ReadOnlyList
public sealed class ProjectCollection : ReadOnlyList
public ref class ProjectCollection sealed : public ReadOnlyList
[<Sealed>]
type ProjectCollection =  
    class
        inherit ReadOnlyList
    end
public final class ProjectCollection extends ReadOnlyList

The ProjectCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of Project objects in this collection. (Overrides ReadOnlyList.Count.)
Public property IsFixedSize Obsolete. (Inherited from ReadOnlyList.)
Public property IsReadOnly Obsolete. (Inherited from ReadOnlyList.)
Public property IsSynchronized Obsolete. (Inherited from ReadOnlyList.)
Public property Item[Int32] Gets the project at the specified index in this collection.
Public property Item[String] Gets the project in this collection that is specified by its name.
Public property SyncRoot Obsolete. (Inherited from ReadOnlyList.)

Top

Methods

  Name Description
Public method Contains(String) Checks whether the project that is specified by its name exists in this collection.
Public method Contains(Project) Checks whether the specified project exists in this collection.
Public method CopyTo Obsolete. (Inherited from ReadOnlyList.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from 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 GetById Gets a project in this collection by using its ID.
Public method GetEnumerator (Inherited from ReadOnlyList.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetItem (Inherited from ReadOnlyList.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified Project object in this collection.
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

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method IList.Clear (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate property ICollection.Count (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate property IList.Item (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate method IList.RemoveAt (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from ReadOnlyList.)

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.TeamFoundation.WorkItemTracking.Client Namespace