Share via


Iteration.AddActivity Method

Applies To: Windows 8.1

Creates and adds an Activity to the Iteration.

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

Usage

'Usage
Dim instance As Iteration
Dim returnValue As Activity

returnValue = instance.AddActivity

Syntax

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

Return Value

Returns Activity.

Remarks

The Activity objects hold information from the Iteration/Activities/Activity 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

Iteration Class
Iteration Members
Microsoft.Assessments.Runtime Namespace