Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents a collection of web or list content types.
The SPContentTypeCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the total number of content types in the collection. (Overrides SPBaseCollection.Count.) |
![]() |
Item[Int32] | Gets the content type at the specified index in the collection. |
![]() |
Item[String] | Gets the content type that has the specified name. |
![]() |
Item[SPContentTypeId] | Gets the content type that has the specified content type identifier (ID). |
![]() |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds a content type to the collection. |
![]() |
BestMatch | Searches the collection and returns the content type identifier (ID) that is the nearest match to the specified content type ID. |
![]() |
Delete | Deletes the specified content type from the collection. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | (Inherited from SPAutoSerializingObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | (Inherited from SPAutoSerializingObject.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top