Share via


AllowedContentTypeCollection members

Stores a list of the content types that can be included in an associated DocumentSet object.

The AllowedContentTypeCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of content types that can be used with an associated DocumentSet object.
Public property LastModified Gets the date and time that the current AllowedContentTypeCollection object was last changed.

Top

Methods

  Name Description
Public method Add Adds a content type that can be used with an associated DocumentSet object.
Public method Clear Removes all content types from the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to iterate through the AllowedContentTypeCollection object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Deletes a content type that can be used with an associated DocumentSet object.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<SPContentTypeId>.GetEnumerator Gets the enumerator.

Top

See also

Reference

AllowedContentTypeCollection class

Microsoft.Office.DocumentManagement.DocumentSets namespace