Partager via


ParentCollection.AddItem Method

Applies To: Windows 8.1

Creates a parent and adds it to the ParentCollection.

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

Usage

'Usage
Dim instance As ParentCollection
Dim parent As String

instance.AddItem(parent)

Syntax

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

Parameters

  • parent
    The parent.

Remarks

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

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

ParentCollection Class
ParentCollection Members
Microsoft.Assessments.Runtime Namespace