Partager via


TestCaseCollection.Item Property

Applies To: Windows 8.1

A TestCase from the TestCaseCollection.

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

Usage

'Usage
Dim instance As TestCaseCollection
Dim index As Integer
Dim value As TestCase

value = instance(index)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As TestCase
public TestCase this [
    int index
] { get; }
public:
property TestCase^ default [int] {
    TestCase^ get (int index);
}
/** @property */
public TestCase get_Item (int index)

Parameters

  • index
    The TestCase identifier.

Property Value

Returns TestCase.

Remarks

The index value ranges from 0 to one less than the count of items in the collection.

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