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