Share via


TestCondition.Name Property

Gets or sets the test condition name.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)

Syntax

'Declaration
Public Property Name As String
'Usage
Dim instance As TestCondition
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Name ()

/** @property */
public void set_Name (String value)
public function get Name () : String

public function set Name (value : String)

Remarks

This is the name of the test condition in code. This name is provided in the test failure notification if the test fails.

See Also

Reference

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