SPFolder.ContentTypeOrder Property

Gets a list of SPContentType objects.

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

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)]
public IList<SPContentType> ContentTypeOrder { get; }

Property Value

Type: System.Collections.Generic.IList<SPContentType>
An ordered list of SPContentType objects.

The list of content types determines the order in which the content type shows up in the New Item drop-down list. For example, if the order is “document, spec, test plan”, then the items in the New Item drop-down list will be ordered the same way.

Show: