Activity.Enumerator<T> Struct

Definition

Enumerates the data stored on an Activity object.

public struct Activity.Enumerator<T>

Type Parameters

T

Type being enumerated.

Inheritance
Activity.Enumerator<T>

Properties

Current

Gets the element at the current position of the enumerator.

Methods

GetEnumerator()

Returns an enumerator that iterates through the data stored on an Activity object.

MoveNext()

Advances the enumerator to the next element of the data.

Applies to

Product Versions
.NET 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)