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 | |
![]() |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
![]() |
Finalize | (覆寫 Object.Finalize()。) |
![]() |
GetEnumerator | |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
IndexOf | |
![]() |
Insert | |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
Remove | |
![]() |
RemoveAt | |
![]() |
Sort(IComparer<T>) | |
![]() |
Sort(Comparison<T>) | |
![]() |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
明確介面實作
名稱 | 說明 | |
---|---|---|
![]() ![]() |
IEnumerable.GetEnumerator |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。