Compartilhar via


Classe TestParameterCollection

 

Representa uma coleção de parâmetros de teste em um conjunto compartilhado de etapa, um caso de teste ou uma etapa de teste.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)

Hierarquia de herança

System.Object
  System.Collections.ObjectModel.ReadOnlyCollection<T>
    System.Collections.ObjectModel.ReadOnlyObservableCollection<T>
      Microsoft.TeamFoundation.TestManagement.Client.TestParameterCollection

Sintaxe

public class TestParameterCollection : ReadOnlyObservableCollection<ITestParameter>
public ref class TestParameterCollection : ReadOnlyObservableCollection<ITestParameter^>
type TestParameterCollection = 
    class
        inherit ReadOnlyObservableCollection<ITestParameter>
    end
Public Class TestParameterCollection
    Inherits ReadOnlyObservableCollection(Of ITestParameter)

Propriedades

Nome Descrição
System_CAPS_pubproperty Count

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubproperty Item[Int32]

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubproperty Item[String]

Obtém um parâmetro de teste da coleção conforme identificado pelo nome determinado parâmetro.

System_CAPS_protproperty Items

(herdado de ReadOnlyCollection<T>.)

Métodos

Nome Descrição
System_CAPS_pubmethod Contains(T)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubmethod ContainsKey(String)

Retorna um valor que indica se um parâmetro que tenha o nome fornecido está localizado na coleção.

System_CAPS_pubmethod CopyTo(T[], Int32)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubmethod Equals(Object)

(herdado de Object.)

System_CAPS_protmethod Finalize()

(herdado de Object.)

System_CAPS_pubmethod FromXml(XmlReader)

Lê essa coleção de XML.

System_CAPS_pubmethod GetEnumerator()

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubmethod GetHashCode()

(Substitui Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(herdado de Object.)

System_CAPS_pubmethod IndexOf(T)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_protmethod MemberwiseClone()

(herdado de Object.)

System_CAPS_protmethod OnCollectionChanged(NotifyCollectionChangedEventArgs)

(herdado de ReadOnlyObservableCollection<T>.)

System_CAPS_protmethod OnPropertyChanged(PropertyChangedEventArgs)

(herdado de ReadOnlyObservableCollection<T>.)

System_CAPS_pubmethod ToString()

(herdado de Object.)

System_CAPS_pubmethod ToXml(XmlWriter)

Grava essa coleção XML.

Eventos

Nome Descrição
System_CAPS_protevent CollectionChanged

(herdado de ReadOnlyObservableCollection<T>.)

System_CAPS_protevent PropertyChanged

(herdado de ReadOnlyObservableCollection<T>.)

Implementações explícitas da interface

Nome Descrição
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<T>.Add(T)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<T>.Clear()

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<T>.Remove(T)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList<T>.Insert(Int32, T)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList<T>.RemoveAt(Int32)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Clear()

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(herdado de ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.RemoveAt(Int32)

(herdado de ReadOnlyCollection<T>.)

Comentários

A coleção não pode ser modificada, mas os parâmetros podem ser modificados.

Acesso thread-safe

Qualquer estático público (Compartilhado no Visual Basic) membros desde tipo são thread safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

ReadOnlyObservableCollection<T>
Namespace Microsoft.TeamFoundation.TestManagement.Client

Retornar ao topo