为指定的测试类型设置特定类型运行结构扩展数据。
命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Public Sub SetTestTypeSpecificData ( _
    testType As TestType, _
    data As ITestTypeSpecificRunConfigurationData _
)
public void SetTestTypeSpecificData(
    TestType testType,
    ITestTypeSpecificRunConfigurationData data
)
public:
void SetTestTypeSpecificData(
    TestType^ testType, 
    ITestTypeSpecificRunConfigurationData^ data
)
member SetTestTypeSpecificData : 
        testType:TestType * 
        data:ITestTypeSpecificRunConfigurationData -> unit 
public function SetTestTypeSpecificData(
    testType : TestType, 
    data : ITestTypeSpecificRunConfigurationData
)
参数
- testType
 类型:Microsoft.VisualStudio.TestTools.Common.TestType
 要为其设置运行配置扩展数据的测试类型。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。