DeploymentItemAttribute Constructor (String)
Initializes a new instance of the DeploymentItemAttribute class. An object that is created with this constructor will be initialized with a path to a deployment item or directory.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
'Declaration Public Sub New ( _ path As String _ )
public DeploymentItemAttribute( string path )
public: DeploymentItemAttribute( String^ path )
new : path:string -> DeploymentItemAttribute
public function DeploymentItemAttribute( path : String )
The relative or absolute path to the deployment item or directory to deploy. All items or directories will be deployed to the directory where the deployed test assemblies reside.
The relative path setting is found in the RelativePathRoot setting found in the .testsettings file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.