item method

Retrieves an object from a documentCompatibleInfoCollection collection.

Internet Explorer 8



var retval = documentCompatibleInfoCollection.item(index);


index [in]

Type: Integer

The zero-based index of the object to retrieve.

Integer variable that specifies the element or collection to retrieve. The method returns the element in the collection at the given position, where the first element has value 0, the second has 1, and so on.

Return value

Type: IHTMLDocumentCompatibleInfo

Returns an object or a collection of objects if successful, or null otherwise.

Standards information

There are no standards that apply here.

See also

Defining Document Compatibility