TestRunConfiguration.GetTestTypeSpecificData 方法
傳回測試類型-指定測試類型的特定回合組態延伸資料 (複製)。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Public Function GetTestTypeSpecificData ( _
testType As TestType _
) As ITestTypeSpecificRunConfigurationData
public ITestTypeSpecificRunConfigurationData GetTestTypeSpecificData(
TestType testType
)
public:
ITestTypeSpecificRunConfigurationData^ GetTestTypeSpecificData(
TestType^ testType
)
member GetTestTypeSpecificData :
testType:TestType -> ITestTypeSpecificRunConfigurationData
public function GetTestTypeSpecificData(
testType : TestType
) : ITestTypeSpecificRunConfigurationData
參數
- testType
型別:Microsoft.VisualStudio.TestTools.Common.TestType
要求其測試類型專用回合組態資料的測試類型。
傳回值
型別:Microsoft.VisualStudio.TestTools.Common.ITestTypeSpecificRunConfigurationData
測試類型專用回合組態資料。如果此測試類型沒有任何資料,則為 null。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。