Export (0) Print
Expand All

DeploymentItem Class

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

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

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

[SerializableAttribute]
public sealed class DeploymentItem : IPersistable, 
	IXmlTestStore

The DeploymentItem type exposes the following members.

  NameDescription
Public methodDeploymentItem(String)Initializes an instance of the DeploymentItem class by using the provided path.
Public methodDeploymentItem(String, String)Initializes an instance of the DeploymentItem class by using the provided path and the output directory.
Top

  NameDescription
Public propertyOutputDirectoryGets the relative path of the output directory.
Public propertyPathGets the path of the deployment item.
Top

  NameDescription
Public methodStatic memberCheckDeploymentItemVerifies whether the path and outputDirectory parameters indicate locations that exist.
Public methodEqualsDetermines whether the current DeploymentItem instance is equal to the specified instance. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for an instance of the DeploymentItem object. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLoadLoads the current object from the provided XML element by using the provided parameters.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPrepareToPersistDoes nothing in this release.
Public methodRecoverFromPersistenceVerifies that the current instance, as retrieved from the XML store, is valid.
Public methodSaveSaves the current object to the provided XML element by using the provided parameters.
Public methodToStringReturns the property values as a string. (Overrides Object.ToString().)
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft