Compartilhar via


SP.List.contentTypes Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets the content types that are associated with the list.

var value = SP.List.get_contentTypes();

Property Value

Type: SP.ContentTypeCollection

Applies To

SP.List Class

Exceptions

  • [System.UnauthorizedAccessException]
    The current user has insufficient permissions. Error code: -2147024891.

Remarks

It must not be null.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace