TestResultParameterCollection 类

 

表示给定测试迭代、共享步骤集合或测试操作中测试结果参数的集合。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

继承层次结构

System.Object
  System.Collections.ObjectModel.Collection<T>
    System.Collections.ObjectModel.ObservableCollection<T>
      Microsoft.TeamFoundation.TestManagement.Client.TestResultParameterCollection

语法

public class TestResultParameterCollection : ObservableCollection<ITestResultParameter>
public ref class TestResultParameterCollection : ObservableCollection<ITestResultParameter^>
type TestResultParameterCollection = 
    class
        inherit ObservableCollection<ITestResultParameter>
    end
Public Class TestResultParameterCollection
    Inherits ObservableCollection(Of ITestResultParameter)

属性

名称 说明
System_CAPS_pubproperty Count

(从 Collection<T> 继承。)

System_CAPS_pubproperty Item[Int32]

(从 Collection<T> 继承。)

System_CAPS_pubproperty Item[String]

获取指定的 name 在 测试结果测试集合中。

System_CAPS_protproperty Items

(从 Collection<T> 继承。)

方法

名称 说明
System_CAPS_pubmethod Add(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod Add(String, String, String)

新创建一个测试结果参数,并将其添加到集合中。

System_CAPS_protmethod BlockReentrancy()

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod CheckReentrancy()

(从 ObservableCollection<T> 继承。)

System_CAPS_pubmethod Clear()

(从 Collection<T> 继承。)

System_CAPS_protmethod ClearItems()

从测试结果参数集合中删除所有项。(替代 ObservableCollection<T>.ClearItems()。)

System_CAPS_pubmethod Contains(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod ContainsKey(String)

表示一个值,该值指示集合中是否包含具有指定名称的参数。

System_CAPS_pubmethod CopyTo(T[], Int32)

(从 Collection<T> 继承。)

System_CAPS_pubmethod Equals(Object)

(从 Object 继承。)

System_CAPS_protmethod Finalize()

(从 Object 继承。)

System_CAPS_pubmethod GetEnumerator()

(从 Collection<T> 继承。)

System_CAPS_pubmethod GetHashCode()

(从 Object 继承。)

System_CAPS_pubmethod GetType()

(从 Object 继承。)

System_CAPS_pubmethod IndexOf(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod Insert(Int32, T)

(从 Collection<T> 继承。)

System_CAPS_protmethod InsertItem(Int32, T)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod MemberwiseClone()

(从 Object 继承。)

System_CAPS_pubmethod Move(Int32, Int32)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod MoveItem(Int32, Int32)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod OnCollectionChanged(NotifyCollectionChangedEventArgs)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod OnPropertyChanged(PropertyChangedEventArgs)

(从 ObservableCollection<T> 继承。)

System_CAPS_pubmethod Remove(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod RemoveAt(Int32)

(从 Collection<T> 继承。)

System_CAPS_protmethod RemoveItem(Int32)

删除具有指定索引的项。(替代 ObservableCollection<T>.RemoveItem(Int32)。)

System_CAPS_protmethod SetItem(Int32, T)

(从 ObservableCollection<T> 继承。)

System_CAPS_pubmethod ToString()

(从 Object 继承。)

事件

名称 说明
System_CAPS_pubevent CollectionChanged

(从 ObservableCollection<T> 继承。)

System_CAPS_protevent PropertyChanged

(从 ObservableCollection<T> 继承。)

显式接口实现

名称 说明
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(从 Collection<T> 继承。)

线程安全

此类型的任何公共静态(Visual Basic 中为 Shared)成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

ITestResultParameter
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首