ITestVariable 接口

 

表示在测试配置中使用的变量名称及其可能的值。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

public interface ITestVariable : IIdentifiable<int>, INotifyPropertyChanged
public interface class ITestVariable : IIdentifiable<int>, INotifyPropertyChanged
type ITestVariable = 
    interface
        interface IIdentifiable<int>
        interface INotifyPropertyChanged
    end
Public Interface ITestVariable
    Inherits IIdentifiable(Of Integer), INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty AllowedValues

获取此变量的允许值的集合。

System_CAPS_pubproperty Description

获取或设置此变量的说明。

System_CAPS_pubproperty Id

获取标识符。(从 IIdentifiable<TKey> 继承。)

System_CAPS_pubproperty Name

获取此变量的唯一名称。

System_CAPS_pubproperty Revision

获取用于并发控制的修订号。

方法

名称 说明
System_CAPS_pubmethod Delete()

从服务器中移除此变量。

System_CAPS_pubmethod Refresh()

用服务器中的新数据更新变量。

System_CAPS_pubmethod Save()

将新的或更新的变量写入服务器。

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

INotifyPropertyChanged
ITestConfiguration
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首