DeploymentItemAttribute 构造函数

包括受保护的成员
包括继承的成员

初始化 DeploymentItemAttribute 类的新实例。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
公共方法 DeploymentItemAttribute(String) 初始化 DeploymentItemAttribute 类的新实例。使用 path 参数指定要部署的文件或目录的路径。
公共方法 DeploymentItemAttribute(String, String) 初始化 DeploymentItemAttribute 类的新实例。使用 path 参数指定要部署的文件或目录的路径,并使用 outputDirectory 参数指定输出目录的路径。

页首

请参见

参考

DeploymentItemAttribute 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间