Share via


DeploymentItemCollection Class

Definition

A collection of DeploymentItem objects.

public ref class DeploymentItemCollection : Microsoft::VisualStudio::TestTools::Common::EqtBaseCollection<Microsoft::VisualStudio::TestTools::Common::DeploymentItem ^>
[System.Serializable]
public class DeploymentItemCollection : Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<Microsoft.VisualStudio.TestTools.Common.DeploymentItem>
[<System.Serializable>]
type DeploymentItemCollection = class
    inherit EqtBaseCollection<DeploymentItem>
Public Class DeploymentItemCollection
Inherits EqtBaseCollection(Of DeploymentItem)
Inheritance
DeploymentItemCollection
Attributes

Constructors

DeploymentItemCollection()

Initializes an instance of the DeploymentItemCollection class.

DeploymentItemCollection(DeploymentItemCollection)

Initializes an instance of the DeploymentItemCollection class by copying the provided DeploymentItemCollection object.

Fields

m_container

Returns the hash table that contains the collection.

(Inherited from EqtBaseCollection<T>)

Properties

Count

Gets the number of items in the collection.

(Inherited from EqtBaseCollection<T>)
IsReadOnly

Gets a value that indicates whether the collection is read-only.

(Inherited from EqtBaseCollection<T>)

Methods

Add(T)

Adds an item to the collection.

(Inherited from EqtBaseCollection<T>)
Clear()

Clears all items from the collection.

(Inherited from EqtBaseCollection<T>)
Clone()

Creates a copy of the collection.

(Inherited from EqtBaseCollection<T>)
Contains(T)

Returns a value that indicates whether the provided item is already in the collection.

(Inherited from EqtBaseCollection<T>)
CopyTo(T[], Int32)

Copies all items in the collection to the provided array, starting with the provided index.

(Inherited from EqtBaseCollection<T>)
GetEnumerator()

Returns an IEnumerator object for iterating through the collection.

(Inherited from EqtBaseCollection<T>)
Load(XmlElement, XmlTestStoreParameters)

Loads the current object from the provided XML element by using the provided parameters.

(Inherited from EqtBaseCollection<T>)
Remove(T)

Removes the provided item from the collection, if the item exists.

(Inherited from EqtBaseCollection<T>)
Save(XmlElement, XmlTestStoreParameters)

Saves the current object to the provided XML element using the provided parameters.

(Inherited from EqtBaseCollection<T>)

Explicit Interface Implementations

IEnumerable<T>.GetEnumerator()

Returns a typed IEnumerator.

(Inherited from EqtBaseCollection<T>)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to