DeploymentItem Members

Include Protected Members
Include Inherited Members

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

The DeploymentItem type exposes the following members.

Constructors

 

Name

Description

Public method

DeploymentItem

Overloaded. Initializes an instance of the DeploymentItem class.

Top

Methods

 

Name

Description

Public methodStatic member

CheckDeploymentItem

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

Public method

Equals

Determines whether the current DeploymentItem instance is equal to the specified instance. (Overrides Object.Equals(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

GetHashCode

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

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.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

PrepareToPersist

Does nothing in this release.

Public method

RecoverFromPersistence

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

Public method

Save

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

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

OutputDirectory

Gets the relative path of the output directory.

Public property

Path

Gets the path of the deployment item.

Top

See Also

Reference

DeploymentItem Class

Microsoft.VisualStudio.TestTools.Common Namespace