This documentation is archived and is not being maintained.

SPContentTypeCollection Methods

Windows SharePoint Services 3

The SPContentTypeCollection type exposes the following members.

Public method Add Adds the specified content type to the collection.
Public method BestMatch Searches the collection and returns the SPContentTypeId object that is the nearest match to the specified SPContentTypeId object.
Public method Delete Deletes the specified content type from the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)