Share via


ITestPlanCollection Interface

 

This API supports the product 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

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
    Inherits ITestObjectCollection(Of ITestPlan), IList(Of ITestPlan),
    ICollection(Of ITestPlan), IEnumerable(Of ITestPlan), IEnumerable,
    INotifyCollectionChanged, INotifyPropertyChanged

Properties

Name Description
System_CAPS_pubproperty Count

(Inherited from ICollection<T>.)

System_CAPS_pubproperty IsReadOnly

(Inherited from ICollection<T>.)

System_CAPS_pubproperty Item[Int32]

(Inherited from IList<T>.)

System_CAPS_pubproperty QueryText

Gets or sets the default query that is used to populate the test plan hierarchy. This includes test runs and test points.

System_CAPS_pubproperty SyncRoot

Gets an object that can be used to synchronize access to the collection.(Inherited from ITestObjectCollection<TObjectInterface>.)

Methods

Name Description
System_CAPS_pubmethod Add(T)

(Inherited from ICollection<T>.)

System_CAPS_pubmethod Clear()

(Inherited from ICollection<T>.)

System_CAPS_pubmethod Contains(T)

(Inherited from ICollection<T>.)

System_CAPS_pubmethod CopyTo(T[], Int32)

(Inherited from ICollection<T>.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from IEnumerable<T>.)

System_CAPS_pubmethod IndexOf(T)

(Inherited from IList<T>.)

System_CAPS_pubmethod Insert(Int32, T)

(Inherited from IList<T>.)

System_CAPS_pubmethod Move(Int32, Int32)

Moves the item of the collection from one position to another.(Inherited from ITestObjectCollection<TObjectInterface>.)

System_CAPS_pubmethod Refresh()

Refreshes the data in all plans in this collection from the server.

System_CAPS_pubmethod RefreshStatistics()

Refreshes the statistics on all plans, test runs, and test plans in this collection.

System_CAPS_pubmethod Remove(T)

(Inherited from ICollection<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from IList<T>.)

Events

Name Description
System_CAPS_pubevent CollectionChanged

(Inherited from INotifyCollectionChanged.)

System_CAPS_pubevent PropertyChanged

(Inherited from INotifyPropertyChanged.)

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

ITestObjectCollection<TObjectInterface>
ITestPlan
ITestPoint
ITestRun
INotifyCollectionChanged
INotifyPropertyChanged
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top