Folder.ContentTypeOrder property
Gets or sets a value that specifies the content type order.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property ContentTypeOrder As IList(Of ContentTypeId)
Get
'Usage
Dim instance As Folder
Dim value As IList(Of ContentTypeId)
value = instance.ContentTypeOrder
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. |