Delen via


IIterable<T>.First Method

Definition

Returns an iterator for the items in the collection.

public:
 IIterator<T> ^ First();
IIterator<T> First();
public IIterator<T> First();
Public Function First () As IIterator(Of T)

Returns

The iterator.

Remarks

When programming with .NET, this interface is hidden, and you should use the System.Collections.Generic.IEnumerable<T> method.

If changes are made to the collection, such as adding, modifying, or deleting elements, the iterator is permitted to raise an exception for all future operations.

Applies to

See also