Skip to main content

Windows Dev Center

HttpLanguageHeaderValueCollection.First | first method

Retrieves an iterator to the first Language item in the collection.

Syntax


var iIterator = httpLanguageHeaderValueCollection.first();

public:
IIterator<Language>^ First()

Parameters

This method has no parameters.

Return value

Type: IIterator<Language>

An object that can be used to enumerate the Language items in the collection. The iterator points to the first Language item in the HttpLanguageHeaderValueCollection.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpLanguageHeaderValueCollection