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)
属性值
备注
此名称是测试条件在代码中的名称。 如果测试失败,则将在测试失败通知中提供此名称。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。