DeploymentItem DeploymentItem DeploymentItem DeploymentItem Class

Definition

Represents a file, a directory, or another item to be deployed with a test run.

public ref class DeploymentItem sealed : Microsoft::VisualStudio::TestTools::Common::IPersistable, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public sealed class DeploymentItem : Microsoft.VisualStudio.TestTools.Common.IPersistable, Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
type DeploymentItem = class
    interface IPersistable
    interface IXmlTestStore
Public NotInheritable Class DeploymentItem
Implements IPersistable, IXmlTestStore
Inheritance
DeploymentItemDeploymentItemDeploymentItemDeploymentItem
Attributes
Implements

Constructors

DeploymentItem(String) DeploymentItem(String) DeploymentItem(String) DeploymentItem(String)

Initializes an instance of the DeploymentItem class by using the provided path.

DeploymentItem(String, String) DeploymentItem(String, String) DeploymentItem(String, String) DeploymentItem(String, String)

Initializes an instance of the DeploymentItem class by using the provided path and the output directory.

Properties

OutputDirectory OutputDirectory OutputDirectory OutputDirectory

Gets the relative path of the output directory.

Path Path Path Path

Gets the path of the deployment item.

Methods

CheckDeploymentItem(String, String, String) CheckDeploymentItem(String, String, String) CheckDeploymentItem(String, String, String) CheckDeploymentItem(String, String, String)

Verifies whether the path and outputDirectory parameters indicate locations that exist.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the current DeploymentItem instance is equal to the specified instance.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for an instance of the DeploymentItem object.

Load(XmlElement, XmlTestStoreParameters) Load(XmlElement, XmlTestStoreParameters) Load(XmlElement, XmlTestStoreParameters) Load(XmlElement, XmlTestStoreParameters)

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

PrepareToPersist() PrepareToPersist() PrepareToPersist() PrepareToPersist()

Does nothing in this release.

RecoverFromPersistence() RecoverFromPersistence() RecoverFromPersistence() RecoverFromPersistence()

Verifies that the current instance, as retrieved from the XML store, is valid.

Save(XmlElement, XmlTestStoreParameters) Save(XmlElement, XmlTestStoreParameters) Save(XmlElement, XmlTestStoreParameters) Save(XmlElement, XmlTestStoreParameters)

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

ToString() ToString() ToString() ToString()

Returns the property values as a string.

Applies to