Condividi tramite


SPFolder.UniqueContentTypeOrder Property

Gets or sets a list of the content type objects.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)> _
Public Property UniqueContentTypeOrder As IList(Of SPContentType)
    Get
    Set
'Usage
Dim instance As SPFolder
Dim value As IList(Of SPContentType)

value = instance.UniqueContentTypeOrder

instance.UniqueContentTypeOrder = value
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)]
public IList<SPContentType> UniqueContentTypeOrder { get; set; }

Property Value

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

Remarks

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

Reference

SPFolder Class

SPFolder Members

Microsoft.SharePoint Namespace