获取或设置一个值,该值指示测试用例是否为另一个测试用例的子测试用例。
命名空间: Microsoft.VisualStudio.TestTools.Execution
程序集: Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
语法
声明
Public Property IsChildTestCase As Boolean
Get
Private Set
public bool IsChildTestCase { get; private set; }
public:
property bool IsChildTestCase {
bool get ();
private: void set (bool value);
}
member IsChildTestCase : bool with get, private set
function get IsChildTestCase () : boolean
private function set IsChildTestCase (value : boolean)
属性值
类型:System.Boolean
如果测试用例为子测试用例,则为 true;如果测试用例为顶级测试用例,则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.TestTools.Execution 命名空间
#ctor(DataCollectionContext, Int32, String, Boolean)