Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeploymentItem Class

 

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

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

System.Object
  Microsoft.VisualStudio.TestTools.Common.DeploymentItem

[SerializableAttribute]
public sealed class DeploymentItem : IPersistable, IXmlTestStore

NameDescription
System_CAPS_pubmethodDeploymentItem(String)

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

System_CAPS_pubmethodDeploymentItem(String, String)

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

NameDescription
System_CAPS_pubpropertyOutputDirectory

Gets the relative path of the output directory.

System_CAPS_pubpropertyPath

Gets the path of the deployment item.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCheckDeploymentItem(String, String, String)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the current DeploymentItem instance is equal to the specified instance.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for an instance of the DeploymentItem object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad(XmlElement, XmlTestStoreParameters)

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

System_CAPS_pubmethodPrepareToPersist()

Does nothing in this release.

System_CAPS_pubmethodRecoverFromPersistence()

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

System_CAPS_pubmethodSave(XmlElement, XmlTestStoreParameters)

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

System_CAPS_pubmethodToString()

Returns the property values as a string.(Overrides Object.ToString().)

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

Return to top
Show: