Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a collection of machine roles.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface IMachineRoleCollection _
    Inherits ITestObjectCollection(Of IMachineRole), IList(Of IMachineRole),  _
    ICollection(Of IMachineRole), IEnumerable(Of IMachineRole), IEnumerable,  _
    INotifyCollectionChanged, INotifyPropertyChanged
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 extends ITestObjectCollection<IMachineRole>, IList<IMachineRole>, ICollection<IMachineRole>, IEnumerable<IMachineRole>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The IMachineRoleCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | Item | Gets or sets the element at the specified index. (Inherited from IList<IMachineRole>.) | 
| .gif) | SyncRoot | Gets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | Adds an item to the ICollection. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | Clear | Removes all items from the ICollection. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | Contains | Determines whether the ICollection contains a specific value. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | Create | Returns an empty IMachineRole object. | 
| .gif) | GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IMachineRole>.) | 
| .gif) | IndexOf | Determines the index of a specific item in the IList. (Inherited from IList<IMachineRole>.) | 
| .gif) | Insert | Inserts an item to the IList at the specified index. (Inherited from IList<IMachineRole>.) | 
| .gif) | Move | Moves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.) | 
| .gif) | Remove | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<IMachineRole>.) | 
| .gif) | RemoveAt | Removes the IList item at the specified index. (Inherited from IList<IMachineRole>.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | 
| .gif) | PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) | 
Top
See Also
Reference
Microsoft.TeamFoundation.TestManagement.Client Namespace