This topic has not yet been rated - Rate this topic

IMachineRoleCollection Interface

Represents a collection of machine roles.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
public interface IMachineRoleCollection : ITestObjectCollection<IMachineRole>, 
	IList<IMachineRole>, ICollection<IMachineRole>, IEnumerable<IMachineRole>, 
	IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

The IMachineRoleCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements contained in the ICollection. (Inherited from ICollection<IMachineRole>.)
Public propertyIsReadOnlyGets a value indicating whether the ICollection is read-only. (Inherited from ICollection<IMachineRole>.)
Public propertyItemGets or sets the element at the specified index. (Inherited from IList<IMachineRole>.)
Public propertySyncRootGets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.)
Top
  NameDescription
Public methodAddAdds an item to the ICollection. (Inherited from ICollection<IMachineRole>.)
Public methodClearRemoves all items from the ICollection. (Inherited from ICollection<IMachineRole>.)
Public methodContainsDetermines whether the ICollection contains a specific value. (Inherited from ICollection<IMachineRole>.)
Public methodCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<IMachineRole>.)
Public methodCreateReturns an empty IMachineRole object.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<IMachineRole>.)
Public methodIndexOfDetermines the index of a specific item in the IList. (Inherited from IList<IMachineRole>.)
Public methodInsertInserts an item to the IList at the specified index. (Inherited from IList<IMachineRole>.)
Public methodMoveMoves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollection. (Inherited from ICollection<IMachineRole>.)
Public methodRemoveAtRemoves the IList item at the specified index. (Inherited from IList<IMachineRole>.)
Top
  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.