Share via


AllowedContentTypeCollection.Add method

Adds a content type that can be used with an associated DocumentSet object.

Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Sub Add ( _
    ctId As SPContentTypeId _
)
'Usage
Dim instance As AllowedContentTypeCollection
Dim ctId As SPContentTypeId

instance.Add(ctId)
public void Add(
    SPContentTypeId ctId
)

Parameters

See also

Reference

AllowedContentTypeCollection class

AllowedContentTypeCollection members

Microsoft.Office.DocumentManagement.DocumentSets namespace