Partager via


ActivityCollection.AddItem Method

Applies To: Windows 8.1

Creates an Activity and adds it to the ActivityCollection.

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

Usage

'Usage
Dim instance As ActivityCollection
Dim returnValue As Activity

returnValue = instance.AddItem

Syntax

'Declaration
Public Function AddItem As Activity
public Activity AddItem ()
public:
Activity^ AddItem ()
public Activity AddItem ()
public function AddItem () : Activity

Return Value

Returns Activity.

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

ActivityCollection Class
ActivityCollection Members
Microsoft.Assessments.Runtime Namespace