Folder.ContentTypeOrder Property

Gets or sets a value that specifies the content type order.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ContentTypeOrder As IList(Of ContentTypeId)
    Get
'Usage
Dim instance As Folder
Dim value As IList(Of ContentTypeId)

value = instance.ContentTypeOrder
[RemoteAttribute]
public IList<ContentTypeId> ContentTypeOrder { get; }

Property Value

Type: System.Collections.Generic.IList<ContentTypeId>
Returns a IList<T> instance representing the content type order.

Exceptions

Exception Condition
[System.ArgumentOutOfRangeException]

Specified content type. Error code: -2146233086.

[System.InvalidOperationException]

Operation is not valid because of the current state of the object. Error code: -1.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

See Also

Reference

Folder Class

Folder Members

Microsoft.SharePoint.Client Namespace