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);
}
public function get Name () : String
public function set Name (value : String)

Property Value

Type: System.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.

Permissions

See Also

Reference

TestCondition Class

TestCondition Members

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