Partager via


RelatedActivityCollection.Item Property

Applies To: Windows 8.1

An ActivityReference from the RelatedActivityCollection.

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

Usage

'Usage
Dim instance As RelatedActivityCollection
Dim index As Integer
Dim value As ActivityReference

value = instance(index)

Syntax

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

Parameters

  • index
    The ActivityReference identifier.

Property Value

Returns ActivityReference.

Remarks

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

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

RelatedActivityCollection Class
RelatedActivityCollection Members
Microsoft.Assessments.Runtime Namespace