DisposableCollection<T> Class
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 | |
---|---|---|
![]() |
DisposableCollection<T> |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Count | |
![]() |
IsReadOnly | |
![]() |
Item |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | |
![]() |
Clear | |
![]() |
Contains | |
![]() |
CopyTo | |
![]() |
Dispose | |
![]() |
DoDispose | |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | (Overrides Object.Finalize().) |
![]() |
GetEnumerator | |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IndexOf | |
![]() |
Insert | |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Remove | |
![]() |
RemoveAt | |
![]() |
Sort(IComparer<T>) | |
![]() |
Sort(Comparison<T>) | |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
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.