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