TestCaseCollection.AddItem Method

Applies To: Windows 8.1

Creates and adds a new TestCase to the TestCaseCollection.

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

Usage

'Usage
Dim instance As TestCaseCollection
Dim returnValue As TestCase

returnValue = instance.AddItem

Syntax

'Declaration
Public Function AddItem As TestCase
public TestCase AddItem ()
public:
TestCase^ AddItem ()
public TestCase AddItem ()
public function AddItem () : 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

TestCaseCollection Class
TestCaseCollection Members
Microsoft.Assessments.Runtime Namespace