Share via


TestCase.AddParent Method

Applies To: Windows 8.1

Adds a parent to the TestCase.

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

Usage

'Usage
Dim instance As TestCase
Dim parent As String

instance.AddParent(parent)

Syntax

'Declaration
Public Sub AddParent ( _
    parent As String _
)
public void AddParent (
    string parent
)
public:
void AddParent (
    String^ parent
)
public void AddParent (
    String parent
)
public function AddParent (
    parent : String
)

Parameters

  • parent
    The parent.

Remarks

A TestCase should have only one parent.

The parent is the value of element TestCase/Parents/Parent.

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

TestCase Class
TestCase Members
Microsoft.Assessments.Runtime Namespace