SPFolder.ContentTypeOrder property
Gets a list of SPContentType objects.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ContentTypeOrder As IList(Of SPContentType)
Get
'Usage
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.
Remarks
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.