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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace