表示与测试设置对象关联的计算机角色的集合。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
public interface ITestSettingsMachineRoleCollection : ITestObjectCollection<ITestSettingsMachineRole>,
IList<ITestSettingsMachineRole>, ICollection<ITestSettingsMachineRole>,
IEnumerable<ITestSettingsMachineRole>, IEnumerable, INotifyCollectionChanged,
INotifyPropertyChanged
public interface class ITestSettingsMachineRoleCollection : ITestObjectCollection<ITestSettingsMachineRole^>,
IList<ITestSettingsMachineRole^>, ICollection<ITestSettingsMachineRole^>,
IEnumerable<ITestSettingsMachineRole^>, IEnumerable, INotifyCollectionChanged,
INotifyPropertyChanged
type ITestSettingsMachineRoleCollection =
interface
interface ITestObjectCollection<ITestSettingsMachineRole>
interface IList<ITestSettingsMachineRole>
interface ICollection<ITestSettingsMachineRole>
interface IEnumerable<ITestSettingsMachineRole>
interface IEnumerable
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
Public Interface ITestSettingsMachineRoleCollection
Inherits ITestObjectCollection(Of ITestSettingsMachineRole), IList(Of ITestSettingsMachineRole),
ICollection(Of ITestSettingsMachineRole), IEnumerable(Of ITestSettingsMachineRole),
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | (从 ICollection<T> 继承。) |
![]() |
IsReadOnly | (从 ICollection<T> 继承。) |
![]() |
Item[Int32] | (从 IList<T> 继承。) |
![]() |
SyncRoot | 此 API 支持 产品 基础结构,不能在代码中直接使用。 获取可用于同步对集合的访问的对象。(从 ITestObjectCollection<TObjectInterface> 继承。) |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Add(T) | (从 ICollection<T> 继承。) |
![]() |
Clear() | (从 ICollection<T> 继承。) |
![]() |
Contains(T) | (从 ICollection<T> 继承。) |
![]() |
CopyTo(T[], Int32) | (从 ICollection<T> 继承。) |
![]() |
Create() | 创建一个必须由调用方添加到集合的新计算机角色。 |
![]() |
GetEnumerator() | (从 IEnumerable<T> 继承。) |
![]() |
IndexOf(T) | (从 IList<T> 继承。) |
![]() |
Insert(Int32, T) | (从 IList<T> 继承。) |
![]() |
Move(Int32, Int32) | 此 API 支持 产品 基础结构,不能在代码中直接使用。 将集合的项从一个位置移到另一个位置。(从 ITestObjectCollection<TObjectInterface> 继承。) |
![]() |
Remove(T) | (从 ICollection<T> 继承。) |
![]() |
RemoveAt(Int32) | (从 IList<T> 继承。) |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
CollectionChanged | (从 INotifyCollectionChanged 继承。) |
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
请参阅
ITestObjectCollection<TObjectInterface>
ITestSettingsMachineRole
INotifyCollectionChanged
INotifyPropertyChanged
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)