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
ctId
Type: Microsoft.SharePoint.SPContentTypeIdA struct that uniquely identifies the content type to be added.
See Also
Reference
AllowedContentTypeCollection Class