SP.ContentTypeCollection Methods
Applies to: SharePoint Foundation 2010
The following table lists the methods of the SP.ContentTypeCollection class.
Methods
Name |
Description |
---|---|
Adds a new content type to the collection. |
|
Adds the specified content type to the collection. |
|
Initializes a new instance of the SP.ContentTypeCollection Class. |
|
Returns the content type with the specified ID from the collection. |
|
Gets the element at the specified index of the collection. |
Applies To
SP.ContentTypeCollection Class