IMachineRoleCollection 接口

 

表示计算机角色的集合。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

public interface IMachineRoleCollection : ITestObjectCollection<IMachineRole>, 
    IList<IMachineRole>, ICollection<IMachineRole>, IEnumerable<IMachineRole>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class IMachineRoleCollection : ITestObjectCollection<IMachineRole^>, 
    IList<IMachineRole^>, ICollection<IMachineRole^>, IEnumerable<IMachineRole^>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type IMachineRoleCollection = 
    interface
        interface ITestObjectCollection<IMachineRole>
        interface IList<IMachineRole>
        interface ICollection<IMachineRole>
        interface IEnumerable<IMachineRole>
        interface IEnumerable
        interface INotifyCollectionChanged
        interface INotifyPropertyChanged
    end
Public Interface IMachineRoleCollection
    Inherits ITestObjectCollection(Of IMachineRole), IList(Of IMachineRole),
    ICollection(Of IMachineRole), IEnumerable(Of IMachineRole), IEnumerable,
    INotifyCollectionChanged, INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty Count

(从 ICollection<T> 继承。)

System_CAPS_pubproperty IsReadOnly

(从 ICollection<T> 继承。)

System_CAPS_pubproperty Item[Int32]

(从 IList<T> 继承。)

System_CAPS_pubproperty SyncRoot

此 API 支持 产品 基础结构,不能在代码中直接使用。 获取可用于同步对集合的访问的对象。(从 ITestObjectCollection<TObjectInterface> 继承。)

方法

名称 说明
System_CAPS_pubmethod Add(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Clear()

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Contains(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod CopyTo(T[], Int32)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Create()

返回空的 IMachineRole 对象。

System_CAPS_pubmethod GetEnumerator()

(从 IEnumerable<T> 继承。)

System_CAPS_pubmethod IndexOf(T)

(从 IList<T> 继承。)

System_CAPS_pubmethod Insert(Int32, T)

(从 IList<T> 继承。)

System_CAPS_pubmethod Move(Int32, Int32)

此 API 支持 产品 基础结构,不能在代码中直接使用。 将集合的项从一个位置移到另一个位置。(从 ITestObjectCollection<TObjectInterface> 继承。)

System_CAPS_pubmethod Remove(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod RemoveAt(Int32)

(从 IList<T> 继承。)

事件

名称 说明
System_CAPS_pubevent CollectionChanged

(从 INotifyCollectionChanged 继承。)

System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

ITestObjectCollection<TObjectInterface>
INotifyCollectionChanged
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首