Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Framework.Server.DisposableCollection<T>
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Class DisposableCollection(Of T) _
    Implements IEnumerable(Of T), IEnumerable, IDisposable,  _
    IList(Of T), ICollection(Of T)
public class DisposableCollection<T> : IEnumerable<T>, 
    IEnumerable, IDisposable, IList<T>, ICollection<T>
generic<typename T>
public ref class DisposableCollection : IEnumerable<T>, 
    IEnumerable, IDisposable, IList<T>, ICollection<T>
type DisposableCollection<'T> =  
    class 
        interface IEnumerable<'T>
        interface IEnumerable 
        interface IDisposable 
        interface IList<'T>
        interface ICollection<'T>
    end
JScript does not support generic types or methods.
Type Parameters
- T
The DisposableCollection<T> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DisposableCollection<T> | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | |
| .gif) | IsReadOnly | |
| .gif) | Item | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | |
| .gif) | Clear | |
| .gif) | Contains | |
| .gif) | CopyTo | |
| .gif) | Dispose | |
| .gif) | DoDispose | |
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | (Overrides Object.Finalize().) | 
| .gif) | GetEnumerator | |
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IndexOf | |
| .gif) | Insert | |
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Remove | |
| .gif) | RemoveAt | |
| .gif) | Sort(IComparer<T>) | |
| .gif) | Sort(Comparison<T>) | |
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IEnumerable.GetEnumerator | 
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.