TestCaseEventArgs.IsChildTestCase 属性

获取或设置一个值,该值指示测试用例是否为另一个测试用例的子测试用例。

命名空间:  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 安全性

请参见

参考

TestCaseEventArgs 类

Microsoft.VisualStudio.TestTools.Execution 命名空间

#ctor(DataCollectionContext, Int32, String, Boolean)