Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides a base class for collections in this namespace.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<T>
    Microsoft.VisualStudio.TestTools.Common.DeploymentItemCollection
    Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class EqtBaseCollection(Of T) _
    Implements ICollection(Of T), IEnumerable(Of T),  _
    IEnumerable, ICloneable, IXmlTestStore
[SerializableAttribute]
public class EqtBaseCollection<T> : ICollection<T>, 
    IEnumerable<T>, IEnumerable, ICloneable, IXmlTestStore
[SerializableAttribute]
generic<typename T>
public ref class EqtBaseCollection : ICollection<T>, 
    IEnumerable<T>, IEnumerable, ICloneable, IXmlTestStore
[<SerializableAttribute>]
type EqtBaseCollection<'T> =  
    class 
        interface ICollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable 
        interface ICloneable 
        interface IXmlTestStore 
    end
JScript does not support generic types or methods.
Type Parameters
- T
 A Type that determines the type of object that the collection contains.
The EqtBaseCollection<T> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | EqtBaseCollection<T>() | Initializes a new instance of the EqtBaseCollection<T> class. | 
| .gif) | EqtBaseCollection<T>(IEqualityComparer) | Initializes a new sortable instance of the EqtBaseCollection<T> class by using the provided comparer. | 
| .gif) | EqtBaseCollection<T>(EqtBaseCollection<T>) | Initializes a new instance of the EqtBaseCollection<T> class by making a shallow copy of the provided EqtBaseCollection<T> object. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of items in the collection. | 
| .gif) | IsReadOnly | Gets a value that indicates whether the collection is read-only. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | Adds an item to the collection. | 
| .gif) | Clear | Clears all items from the collection. | 
| .gif) | Clone | Creates a copy of the collection. | 
| .gif) | Contains | Returns a value that indicates whether the provided item is already in the collection. | 
| .gif) | CopyTo | Copies all items in the collection to the provided array, starting with the provided index. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetEnumerator | Returns an IEnumerator object for iterating through the collection. | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Load | Loads the current object from the provided XML element by using the provided parameters. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Remove | Removes the provided item from the collection, if the item exists. | 
| .gif) | Save | Saves the current object to the provided XML element using the provided parameters. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) | m_container | Infrastructure. Returns the hash table that contains the collection. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IEnumerable<T>.GetEnumerator | Returns a typed IEnumerator. | 
Top
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.