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
- 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