DeploymentItemCollection Class

A collection of DeploymentItem objects.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<DeploymentItem>
    Microsoft.VisualStudio.TestTools.Common.DeploymentItemCollection

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DeploymentItemCollection _
    Inherits EqtBaseCollection(Of DeploymentItem)
[SerializableAttribute]
public class DeploymentItemCollection : EqtBaseCollection<DeploymentItem>
[SerializableAttribute]
public ref class DeploymentItemCollection : public EqtBaseCollection<DeploymentItem^>
[<SerializableAttribute>]
type DeploymentItemCollection =  
    class
        inherit EqtBaseCollection<DeploymentItem>
    end
public class DeploymentItemCollection extends EqtBaseCollection<DeploymentItem>

The DeploymentItemCollection type exposes the following members.

Constructors

  Name Description
Public method DeploymentItemCollection() Initializes an instance of the DeploymentItemCollection class.
Public method DeploymentItemCollection(DeploymentItemCollection) Initializes an instance of the DeploymentItemCollection class by copying the provided DeploymentItemCollection object.

Top

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from EqtBaseCollection<T>.)
Public property IsReadOnly Gets a value that indicates whether the collection is read-only. (Inherited from EqtBaseCollection<T>.)

Top

Methods

  Name Description
Public method Add Adds an item to the collection. (Inherited from EqtBaseCollection<T>.)
Public method Clear Clears all items from the collection. (Inherited from EqtBaseCollection<T>.)
Public method Clone Creates a copy of the collection. (Inherited from EqtBaseCollection<T>.)
Public method Contains Returns a value that indicates whether the provided item is already in the collection. (Inherited from EqtBaseCollection<T>.)
Public method CopyTo Copies all items in the collection to the provided array, starting with the provided index. (Inherited from EqtBaseCollection<T>.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an IEnumerator object for iterating through the collection. (Inherited from EqtBaseCollection<T>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Load Loads the current object from the provided XML element by using the provided parameters. (Inherited from EqtBaseCollection<T>.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the provided item from the collection, if the item exists. (Inherited from EqtBaseCollection<T>.)
Public method Save Saves the current object to the provided XML element using the provided parameters. (Inherited from EqtBaseCollection<T>.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_container Infrastructure. Returns the hash table that contains the collection. (Inherited from EqtBaseCollection<T>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<T>.GetEnumerator Returns a typed IEnumerator. (Inherited from EqtBaseCollection<T>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

DeploymentItem

[T:Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<T>]