TestCaseEventArgs.TestCaseName 属性

获取或设置测试用例的名称。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
Public Property TestCaseName As String
    Get
    Private Set
public string TestCaseName { get; private set; }
public:
property String^ TestCaseName {
    String^ get ();
    private: void set (String^ value);
}
member TestCaseName : string with get, private set
function get TestCaseName () : String
private function set TestCaseName (value : String)

属性值

类型:System.String
测试用例的名称。

.NET Framework 安全性

请参见

参考

TestCaseEventArgs 类

Microsoft.VisualStudio.TestTools.Execution 命名空间

#ctor(DataCollectionContext, Int32, String, Boolean)