表示在测试配置中使用的变量名称及其可能的值。
命名空间: 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
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AllowedValues | 获取此变量的允许值的集合。 |
![]() |
Description | 获取或设置此变量的说明。 |
![]() |
Id | 获取标识符。(从 IIdentifiable<TKey> 继承。) |
![]() |
Name | 获取此变量的唯一名称。 |
![]() |
Revision | 获取用于并发控制的修订号。 |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Delete() | 从服务器中移除此变量。 |
![]() |
Refresh() | 用服务器中的新数据更新变量。 |
![]() |
Save() | 将新的或更新的变量写入服务器。 |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
请参阅
INotifyPropertyChanged
ITestConfiguration
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)