SP.ContentTypeCollection.itemAt Method (sp.js)

Gets the element at the specified index of the collection.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.ContentTypeCollection.itemAt()

Parameters

  • index
    Type: Number

    The zero-based index of the element.

Return value

Type: SP.ContentType

The element at the specified index of the SP.ContentTypeCollection.

Remarks

This method is an O(1) operation.