SPContentTypeCollection properties

The SPContentTypeCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the total number of content types in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the content type at the specified index in the collection.
Public property Item[String] Gets the content type that has the specified name.
Public property Item[SPContentTypeId] Gets the content type that has the specified content type identifier (ID).

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPContentTypeCollection class

Microsoft.SharePoint namespace