TestParameterCollection Class

 

Represents a collection of test parameters in a shared step set, a test case, or a test step.

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

Inheritance Hierarchy

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

Syntax

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)

Properties

Name Description
System_CAPS_pubproperty Count

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubproperty Item[Int32]

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubproperty Item[String]

Gets a test parameter from the collection as identified by the given parameter name.

System_CAPS_protproperty Items

(Inherited from ReadOnlyCollection<T>.)

Methods

Name Description
System_CAPS_pubmethod Contains(T)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubmethod ContainsKey(String)

Returns a value that indicates whether a parameter that has the provided name is located in the collection.

System_CAPS_pubmethod CopyTo(T[], Int32)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FromXml(XmlReader)

Reads this collection from XML.

System_CAPS_pubmethod GetEnumerator()

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubmethod GetHashCode()

(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(T)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnCollectionChanged(NotifyCollectionChangedEventArgs)

(Inherited from ReadOnlyObservableCollection<T>.)

System_CAPS_protmethod OnPropertyChanged(PropertyChangedEventArgs)

(Inherited from ReadOnlyObservableCollection<T>.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod ToXml(XmlWriter)

Writes this collection to XML.

Events

Name Description
System_CAPS_protevent CollectionChanged

(Inherited from ReadOnlyObservableCollection<T>.)

System_CAPS_protevent PropertyChanged

(Inherited from ReadOnlyObservableCollection<T>.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<T>.Add(T)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<T>.Clear()

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<T>.Remove(T)

(Inherited from ReadOnlyCollection<T>.)

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

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList<T>.RemoveAt(Int32)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Clear()

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from ReadOnlyCollection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.RemoveAt(Int32)

(Inherited from ReadOnlyCollection<T>.)

Remarks

The collection cannot be modified, but the parameters in it can be modified.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

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

Return to top