Windows Dev Center

IIterable<T>.First method

Returns an iterator for the items in the collection.

Syntax


IIterator<T>^ First()

Parameters

This method has no parameters.

Return value

Type: IIterator<T>

The iterator.

Remarks

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

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows::Foundation::Collections

Metadata

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation::Collections

Metadata

Windows.winmd

See also

IIterable<T>

 

 

Show:
© 2015 Microsoft