Partilhar via


OneOrMany<T>.Enumerator Struct

Definition

Struct based enumerator. Just enough is implemented to satisfy the foreach pattern.

public:  where T : classvalue class OneOrMany<T>::Enumerator
public struct OneOrMany<T>.Enumerator where T : class
type OneOrMany<'T (requires 'T : null)>.Enumerator = struct
Public Structure OneOrMany(Of T).Enumerator

Type Parameters

T
Inheritance
OneOrMany<T>.Enumerator

Remarks

Note that the enumerator is not invalidated by updates to the underlying collection.

Properties

Current

Access the current element.

Methods

MoveNext()

Advance the enumerator to the next position.

Applies to