Share via


Iteration.AddTestCase Method

Applies To: Windows 8.1

Creates and adds a TestCase to the Iteration.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Iteration
Dim returnValue As TestCase

returnValue = instance.AddTestCase

Syntax

'Declaration
Public Function AddTestCase As TestCase
public TestCase AddTestCase ()
public:
TestCase^ AddTestCase ()
public TestCase AddTestCase ()
public function AddTestCase () : TestCase

Return Value

Returns TestCase.

Remarks

The TestCase objects hold information from the Iteration/TestCases/TestCase elements.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Iteration Class
Iteration Members
Microsoft.Assessments.Runtime Namespace