EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

QueryCollection.getAttribute method

Applies to Windows and Windows Phone

Gets an attribute value from the first element in the collection.

Syntax


var object = queryCollection.getAttribute(name);

Parameters

name

Type: string

The name of the attribute.

Return value

Type: Object

The value of the attribute.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Utilities

Library

Base.js

See also

QueryCollection

 

 

Anzeigen:
© 2014 Microsoft