Export (0) Print
Expand All

SPContentTypeCollection Class

Represents a collection of web or list content types.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableTypeAttribute(Name = "ContentTypeCollection", ServerTypeId = "{653e9412-6245-4a3f-829b-cfdbf7fd86a5}", 
	CollectionChildItemType = typeof(SPContentType))]
[SubsetCallableTypeAttribute]
public sealed class SPContentTypeCollection : SPBaseCollection

When contained in an SPWeb object, the collection represents a collection of web content types; when contained in an SPList object, it represents a collection of list content types.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft