DocumentSet.ContentType property

Gets the content type for the document set.

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

Syntax

'Declaration
Public ReadOnly Property ContentType As SPContentType
    Get
'Usage
Dim instance As DocumentSet
Dim value As SPContentType

value = instance.ContentType
public SPContentType ContentType { get; }

Property value

Type: Microsoft.SharePoint.SPContentType
The content type for the document set.

Remarks

This property is the same as to DocumentSet.Item.ContentType.SPContentType for the current document set.

See also

Reference

DocumentSet class

DocumentSet members

Microsoft.Office.DocumentManagement.DocumentSets namespace

Item

ContentTypeTemplate

Folder