获取 RunConfiguration 中的所有 ITestElement 对象。
命名空间: Microsoft.VisualStudio.TestTools.Execution
程序集: Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
语法
声明
Public ReadOnly Property TestElements As ITestElement()
public ITestElement[] TestElements { get; }
public:
virtual property array<ITestElement^>^ TestElements {
array<ITestElement^>^ get () sealed;
}
abstract TestElements : ITestElement[] with get
override TestElements : ITestElement[] with get
final function get TestElements () : ITestElement[]
属性值
类型:array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
ITestElement 对象的数组。
实现
IExecutionRunConfiguration.TestElements
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。