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.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a collection of test plans.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ITestPlanCollection _
Inherits ITestObjectCollection(Of ITestPlan), IList(Of ITestPlan), _
ICollection(Of ITestPlan), IEnumerable(Of ITestPlan), IEnumerable, _
INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestPlanCollection : ITestObjectCollection<ITestPlan>,
IList<ITestPlan>, ICollection<ITestPlan>, IEnumerable<ITestPlan>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestPlanCollection : ITestObjectCollection<ITestPlan^>,
IList<ITestPlan^>, ICollection<ITestPlan^>, IEnumerable<ITestPlan^>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestPlanCollection =
interface
interface ITestObjectCollection<ITestPlan>
interface IList<ITestPlan>
interface ICollection<ITestPlan>
interface IEnumerable<ITestPlan>
interface IEnumerable
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
public interface ITestPlanCollection extends ITestObjectCollection<ITestPlan>, IList<ITestPlan>, ICollection<ITestPlan>, IEnumerable<ITestPlan>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The ITestPlanCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestPlan>.) |
![]() |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestPlan>.) |
![]() |
Item | Gets or sets the element at the specified index. (Inherited from IList<ITestPlan>.) |
![]() |
QueryText | Gets or sets the default query that is used to populate the test plan hierarchy. This includes test runs and test points. |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds an item to the ICollection. (Inherited from ICollection<ITestPlan>.) |
![]() |
Clear | Removes all items from the ICollection. (Inherited from ICollection<ITestPlan>.) |
![]() |
Contains | Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestPlan>.) |
![]() |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestPlan>.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestPlan>.) |
![]() |
IndexOf | Determines the index of a specific item in the IList. (Inherited from IList<ITestPlan>.) |
![]() |
Insert | Inserts an item to the IList at the specified index. (Inherited from IList<ITestPlan>.) |
![]() |
Move | Moves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.) |
![]() |
Refresh | Refreshes the data in all plans in this collection from the server. |
![]() |
RefreshStatistics | Refreshes the statistics on all plans, test runs, and test plans in this collection. |
![]() |
Remove | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestPlan>.) |
![]() |
RemoveAt | Removes the IList item at the specified index. (Inherited from IList<ITestPlan>.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) |
![]() |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
Remarks
Test plans may be added or deleted, but when a plan is deleted, all its test runs and test points are also deleted.
See Also
Reference
Microsoft.TeamFoundation.TestManagement.Client Namespace