Share via


ScalarValueCondition.ExpectedValue Property

Gets or sets the expected value of the first column of the first row of the specified ResultSet.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions
Assembly:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.dll)

Syntax

'Declaration
Public Property ExpectedValue As String
'Usage
Dim instance As ScalarValueCondition
Dim value As String

value = instance.ExpectedValue

instance.ExpectedValue = value
public string ExpectedValue { get; set; }
public:
property String^ ExpectedValue {
    String^ get ();
    void set (String^ value);
}
public function get ExpectedValue () : String
public function set ExpectedValue (value : String)

Property Value

Type: System.String

Remarks

If you set NullExpected to true, then ExpectedValue is automatically set to null. If this property is set to a non-null value, NullExpected is set to false.

Permissions

See Also

Reference

ScalarValueCondition Class

ScalarValueCondition Members

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace