DisposableCollection<T> 類別
繼承階層
System.Object
Microsoft.TeamFoundation.Framework.Server.DisposableCollection<T>
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Class DisposableCollection(Of T) _
Implements IDisposable, IList(Of T), ICollection(Of T), _
IEnumerable(Of T), IEnumerable
public class DisposableCollection<T> : IDisposable,
IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
類型參數
- T
DisposableCollection<T> 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
DisposableCollection<T> |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
Count | ||
IsReadOnly | ||
Item |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Add | ||
Clear | ||
Contains | ||
CopyTo | ||
Dispose | ||
DoDispose | ||
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 | |
Finalize | (覆寫 Object.Finalize()。) | |
GetEnumerator | ||
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 | |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 | |
IndexOf | ||
Insert | ||
MemberwiseClone | 建立目前 Object 的淺層複製。 (繼承自 Object)。 | |
Remove | ||
RemoveAt | ||
Sort(IComparer<T>) | ||
Sort(Comparison<T>) | ||
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
擴充方法
名稱 | 描述 | |
---|---|---|
Buffer<T> | (以 EnumerableExtensions 定義。) |
回頁首
明確介面實作
名稱 | 描述 | |
---|---|---|
IEnumerable.GetEnumerator |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。