ITestVariable 介面
表示測試組態中使用的變數名稱及其可能的值。
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Public Interface ITestVariable _
Inherits IIdentifiable(Of Integer), INotifyPropertyChanged
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 extends IIdentifiable<int>, INotifyPropertyChanged
ITestVariable 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
AllowedValues | 取得這個變數的允許值集合。 |
![]() |
Description | 取得或設定這個變數的描述。 |
![]() |
Id | 取得識別碼。 (繼承自 IIdentifiable<TKey>)。 |
![]() |
Name | 取得這個變數的唯一名稱。 |
![]() |
Revision | 取得並行存取控制項的修訂編號。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Delete | 從伺服器移除這個變數。 |
![]() |
Refresh | 使用伺服器中的新資料,更新變數。 |
![]() |
Save | 將新的或更新的變數寫入至伺服器。 |
回頁首
事件
名稱 | 說明 | |
---|---|---|
![]() |
PropertyChanged | 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。 |
回頁首