此 API 支持 产品 基础结构,不能在代码中直接使用。
表示测试计划的集合。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
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
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | (从 ICollection<T> 继承。) |
![]() |
IsReadOnly | (从 ICollection<T> 继承。) |
![]() |
Item[Int32] | (从 IList<T> 继承。) |
![]() |
QueryText | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取或设置用于填充测试计划层次结构的默认查询。这包括测试运行和测试点。 |
![]() |
SyncRoot | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取可用于同步对集合的访问的对象。(从 ITestObjectCollection<TObjectInterface> 继承。) |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Add(T) | (从 ICollection<T> 继承。) |
![]() |
Clear() | (从 ICollection<T> 继承。) |
![]() |
Contains(T) | (从 ICollection<T> 继承。) |
![]() |
CopyTo(T[], Int32) | (从 ICollection<T> 继承。) |
![]() |
GetEnumerator() | (从 IEnumerable<T> 继承。) |
![]() |
IndexOf(T) | (从 IList<T> 继承。) |
![]() |
Insert(Int32, T) | (从 IList<T> 继承。) |
![]() |
Move(Int32, Int32) | 此 API 支持 产品 基础结构,不能在代码中直接使用。 将集合的项从一个位置移到另一个位置。(从 ITestObjectCollection<TObjectInterface> 继承。) |
![]() |
Refresh() | 此 API 支持 产品 基础结构,不能在代码中直接使用。 依据服务器刷新此集合内所有计划中的数据。 |
![]() |
RefreshStatistics() | 此 API 支持 产品 基础结构,不能在代码中直接使用。 刷新此集合中所有计划、测试运行和测试计划的相关统计信息。 |
![]() |
Remove(T) | (从 ICollection<T> 继承。) |
![]() |
RemoveAt(Int32) | (从 IList<T> 继承。) |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
CollectionChanged | (从 INotifyCollectionChanged 继承。) |
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
备注
可以添加或删除测试计划,但当删除一个计划时,它的所有测试运行和测试点也会被删除。
请参阅
ITestObjectCollection<TObjectInterface>
ITestPlan
ITestPoint
ITestRun
INotifyCollectionChanged
INotifyPropertyChanged
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)