ContentTypes element (View)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Used to conditionally add markup language or script to a page, based on evaluation of a content type ID.

<ContentTypes>
</ContentTypes>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

Numerous

Parent elements

Numerous

Occurrences

  • Minimum: 0
  • Maximum: Unbounded