Export (0) Print
Expand All

ITestPlanCollection Interface

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)

public interface ITestPlanCollection : ITestObjectCollection<ITestPlan>, 
	IList<ITestPlan>, ICollection<ITestPlan>, IEnumerable<ITestPlan>, 
	IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

The ITestPlanCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements contained in the ICollection<T>. (Inherited from ICollection<ITestPlan>.)
Public propertyIsReadOnlyGets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<ITestPlan>.)
Public propertyItemGets or sets the element at the specified index. (Inherited from IList<ITestPlan>.)
Public propertyQueryTextGets or sets the default query that is used to populate the test plan hierarchy. This includes test runs and test points.
Public propertySyncRootGets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.)
Top

  NameDescription
Public methodAddAdds an item to the ICollection<T>. (Inherited from ICollection<ITestPlan>.)
Public methodClearRemoves all items from the ICollection<T>. (Inherited from ICollection<ITestPlan>.)
Public methodContainsDetermines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ITestPlan>.)
Public methodCopyToCopies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<ITestPlan>.)
Public methodGetEnumerator()Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestPlan>.)
Public methodGetEnumerator()Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodIndexOfDetermines the index of a specific item in the IList<T>. (Inherited from IList<ITestPlan>.)
Public methodInsertInserts an item to the IList<T> at the specified index. (Inherited from IList<ITestPlan>.)
Public methodMoveMoves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.)
Public methodRefreshRefreshes the data in all plans in this collection from the server.
Public methodRefreshStatisticsRefreshes the statistics on all plans, test runs, and test plans in this collection.
Public methodRemoveRemoves the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ITestPlan>.)
Public methodRemoveAtRemoves the IList<T> item at the specified index. (Inherited from IList<ITestPlan>.)
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top

Test plans may be added or deleted, but when a plan is deleted, all its test runs and test points are also deleted.

Community Additions

ADD
Show:
© 2015 Microsoft