Поделиться через


ITestVariable Interface

Represents a variable name that is used in test configurations and its possible values.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
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

The ITestVariable type exposes the following members.

Properties

  Name Description
Public property AllowedValues Gets a collection of allowed values for this variable.
Public property Description Gets or sets the description for this variable.
Public property Id Gets the identifier. (Inherited from IIdentifiable<TKey>.)
Public property Name Gets the unique name for this variable.
Public property Revision Gets the revision number for concurrency control.

Top

Methods

  Name Description
Public method Delete Removes this variable from the server.
Public method Refresh Updates the variable by using new data from the server.
Public method Save Writes the new or updated variable to the server.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

INotifyPropertyChanged

ITestConfiguration