Freigeben über


IVariable.Value Property

Gets or sets the value of the variable. This property supports the generated test cases and is not intended to be used directly from your code.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
T Value { get; set; }

Property Value

The value of the variable.

Remarks

If the variable is bound to a value, this property throws an exception when the variable is set to a new value that is not equal to its current value. If the variable is not bound to a value, this property returns the default value of the variable.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

IVariable Generic Interface
IVariable Members
Microsoft.SpecExplorer.Runtime.Testing Namespace