SP.Folder.contentTypeOrder Property

Applies to: SharePoint Foundation 2010

Gets the collection of all files contained in the list folder.

var value = SP.Folder.get_contentTypeOrder(); 

Property Value

Type: SP.ContentTypeId[]

Applies To

SP.Folder Class

Exceptions

  • [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

SP.Folder Methods

SP.Folder Properties

SP Namespace