ITestConfigurationCollection 介面
表示 ITestConfiguration 物件的集合。
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Public Interface ITestConfigurationCollection _
Inherits ITestObjectCollection(Of ITestConfiguration), IList(Of ITestConfiguration), _
ICollection(Of ITestConfiguration), IEnumerable(Of ITestConfiguration), IEnumerable, _
INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestConfigurationCollection : ITestObjectCollection<ITestConfiguration>,
IList<ITestConfiguration>, ICollection<ITestConfiguration>, IEnumerable<ITestConfiguration>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestConfigurationCollection : ITestObjectCollection<ITestConfiguration^>,
IList<ITestConfiguration^>, ICollection<ITestConfiguration^>, IEnumerable<ITestConfiguration^>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestConfigurationCollection =
interface
interface ITestObjectCollection<ITestConfiguration>
interface IList<ITestConfiguration>
interface ICollection<ITestConfiguration>
interface IEnumerable<ITestConfiguration>
interface IEnumerable
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
public interface ITestConfigurationCollection extends ITestObjectCollection<ITestConfiguration>, IList<ITestConfiguration>, ICollection<ITestConfiguration>, IEnumerable<ITestConfiguration>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
ITestConfigurationCollection 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
Count | 取得 ICollection<T> 中所包含的元素數。 (繼承自 ICollection<ITestConfiguration>)。 | |
IsReadOnly | 取得值,指出 ICollection<T> 是否唯讀。 (繼承自 ICollection<ITestConfiguration>)。 | |
Item | 取得或設定在指定索引的項目。 (繼承自 IList<ITestConfiguration>)。 | |
SyncRoot | 取得物件,可用來對集合進行同步存取。 (繼承自 ITestObjectCollection<TObjectInterface>)。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
Add | 將項目加入至 ICollection<T>。 (繼承自 ICollection<ITestConfiguration>)。 | |
Clear | 將所有項目從 ICollection<T> 移除。 (繼承自 ICollection<ITestConfiguration>)。 | |
Contains | 判斷 ICollection<T> 是否包含特定值。 (繼承自 ICollection<ITestConfiguration>)。 | |
CopyTo | 從特定的 Array 索引開始,複製 ICollection<T> 項目至 Array。 (繼承自 ICollection<ITestConfiguration>)。 | |
GetEnumerator | 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<ITestConfiguration>)。 | |
IndexOf | 判斷 IList<T> 中特定項目的索引。 (繼承自 IList<ITestConfiguration>)。 | |
Insert | 將項目插入位於指定索引的 IList<T>。 (繼承自 IList<ITestConfiguration>)。 | |
Move | 將集合的項目從某個位置移至另一個位置。 (繼承自 ITestObjectCollection<TObjectInterface>)。 | |
Remove | 從 ICollection<T> 移除特定物件的第一個相符項目。 (繼承自 ICollection<ITestConfiguration>)。 | |
RemoveAt | 移除指定之索引處的 IList<T> 項目。 (繼承自 IList<ITestConfiguration>)。 |
回頁首
事件
名稱 | 說明 | |
---|---|---|
CollectionChanged | 發生於集合變更時。 (繼承自 INotifyCollectionChanged)。 | |
PropertyChanged | 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。 |
回頁首
請參閱
參考
Microsoft.TeamFoundation.TestManagement.Client 命名空間