TestCondition.Name 属性

获取或设置测试条件名称。

命名空间:  Microsoft.Data.Schema.UnitTesting.Conditions
程序集:  Microsoft.Data.Schema.UnitTesting(在 Microsoft.Data.Schema.UnitTesting.dll 中)

语法

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

属性值

类型:System.String

备注

此名称是测试条件在代码中的名称。 如果测试失败,则将在测试失败通知中提供此名称。

.NET Framework 安全性

请参见

参考

TestCondition 类

Microsoft.Data.Schema.UnitTesting.Conditions 命名空间