TestRun.Started 属性

获取或设置启动测试运行的日期和时间。

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

语法

声明
<VisiblePropertyAttribute> _
Public Property Started As DateTime
    Get
    Set
[VisiblePropertyAttribute]
public DateTime Started { get; set; }
[VisiblePropertyAttribute]
public:
property DateTime Started {
    DateTime get ();
    void set (DateTime value);
}
[<VisiblePropertyAttribute>]
member Started : DateTime with get, set
function get Started () : DateTime
function set Started (value : DateTime)

属性值

类型:System.DateTime
测试运行开始时的日期和时间。

.NET Framework 安全性

请参见

参考

TestRun 类

Microsoft.VisualStudio.TestTools.Common 命名空间