Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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 | |
|---|---|---|
![]()  | 
Count | Gets the number of Project objects in this collection. (Overrides ReadOnlyList.Count.) | 
![]()  | 
IsFixedSize | Obsolete. (Inherited from ReadOnlyList.) | 
![]()  | 
IsReadOnly | Obsolete. (Inherited from ReadOnlyList.) | 
![]()  | 
IsSynchronized | Obsolete. (Inherited from ReadOnlyList.) | 
![]()  | 
Item[Int32] | Gets the project at the specified index in this collection. | 
![]()  | 
Item[String] | Gets the project in this collection that is specified by its name. | 
![]()  | 
SyncRoot | Obsolete. (Inherited from ReadOnlyList.) | 
Top
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Contains(String) | Checks whether the project that is specified by its name exists in this collection. | 
![]()  | 
Contains(Project) | Checks whether the specified project exists in this collection. | 
![]()  | 
CopyTo | Obsolete. (Inherited from ReadOnlyList.) | 
![]()  | 
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
![]()  | 
GetById | Gets a project in this collection by using its ID. | 
![]()  | 
GetEnumerator | (Inherited from ReadOnlyList.) | 
![]()  | 
GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
![]()  | 
GetType | Gets the Type of the current instance. (Inherited from Object.) | 
![]()  | 
IndexOf | Gets the index of the specified Project object in this collection. | 
![]()  | 
ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]()  | 
IList.Add | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.Clear | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.Contains | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
ICollection.CopyTo | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
ICollection.Count | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.IndexOf | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.Insert | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.IsFixedSize | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.IsReadOnly | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
ICollection.IsSynchronized | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.Item | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.Remove | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
IList.RemoveAt | (Inherited from ReadOnlyList.) | 
![]() ![]()  | 
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.
.gif)
.gif)
.gif)
.gif)
.gif)