SPFolder.UniqueContentTypeOrder property

Gets or sets a list of the content type objects.

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


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

value = instance.UniqueContentTypeOrder

instance.UniqueContentTypeOrder = value
public IList<SPContentType> UniqueContentTypeOrder { get; set; }

Property value

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


If a folder list item does not have the UniqueContentTypeOrder set, its content type order will be the same as that of the parent objects. UniqueContentTypeOrder returns the content type order if it is unique for this folder and not inherited from the parent or the root of the list.

See also


SPFolder class

SPFolder members

Microsoft.SharePoint namespace