SPFolder.ContentTypeOrder property

Gets a list of SPContentType objects.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public ReadOnly Property ContentTypeOrder As IList(Of SPContentType)
Dim instance As SPFolder
Dim value As IList(Of SPContentType)

value = instance.ContentTypeOrder
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.

See also


SPFolder class

SPFolder members

Microsoft.SharePoint namespace