EqtBaseCollection<T> Class
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 | |
---|---|---|
EqtBaseCollection<T>() | Initializes a new instance of the EqtBaseCollection<T> class. | |
EqtBaseCollection<T>(IEqualityComparer) | Initializes a new sortable instance of the EqtBaseCollection<T> class by using the provided comparer. | |
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 | |
---|---|---|
Count | Gets the number of items in the collection. | |
IsReadOnly | Gets a value that indicates whether the collection is read-only. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the collection. | |
Clear | Clears all items from the collection. | |
Clone | Creates a copy of the collection. | |
Contains | Returns a value that indicates whether the provided item is already in the collection. | |
CopyTo | Copies all items in the collection to the provided array, starting with the provided index. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | Returns an IEnumerator object for iterating through the collection. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load | Loads the current object from the provided XML element by using the provided parameters. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes the provided item from the collection, if the item exists. | |
Save | Saves the current object to the provided XML element using the provided parameters. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
m_container | Infrastructure. Returns the hash table that contains the collection. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.