Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a file, a directory, or another item to be deployed with a test run.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.DeploymentItem
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class DeploymentItem _
    Implements IPersistable, IXmlTestStore
[SerializableAttribute]
public sealed class DeploymentItem : IPersistable, 
    IXmlTestStore
[SerializableAttribute]
public ref class DeploymentItem sealed : IPersistable, 
    IXmlTestStore
[<Sealed>]
[<SerializableAttribute>]
type DeploymentItem =  
    class 
        interface IPersistable 
        interface IXmlTestStore 
    end
public final class DeploymentItem implements IPersistable, IXmlTestStore
The DeploymentItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DeploymentItem(String) | Initializes an instance of the DeploymentItem class by using the provided path. | 
| .gif) | DeploymentItem(String, String) | Initializes an instance of the DeploymentItem class by using the provided path and the output directory. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | OutputDirectory | Gets the relative path of the output directory. | 
| .gif) | Path | Gets the path of the deployment item. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | CheckDeploymentItem | Verifies whether the path and outputDirectory parameters indicate locations that exist. | 
| .gif) | Equals | Determines whether the current DeploymentItem instance is equal to the specified instance. (Overrides Object.Equals(Object).) | 
| .gif) | GetHashCode | Serves as a hash function for an instance of the DeploymentItem object. (Overrides Object.GetHashCode.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Load | Loads the current object from the provided XML element by using the provided parameters. | 
| .gif) | PrepareToPersist | Does nothing in this release. | 
| .gif) | RecoverFromPersistence | Verifies that the current instance, as retrieved from the XML store, is valid. | 
| .gif) | Save | Saves the current object to the provided XML element by using the provided parameters. | 
| .gif) | ToString | Returns the property values as a string. (Overrides Object.ToString.) | 
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.