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);
}
/** @property */
public String get_ExpectedValue ()

/** @property */
public void set_ExpectedValue (String value)
public function get ExpectedValue () : String

public function set ExpectedValue (value : 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.

See Also

Reference

ScalarValueCondition Class
ScalarValueCondition Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace