Compartilhar via


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 seet.

See Also

Reference

DocumentSet Class

DocumentSet Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace

Item

ContentTypeTemplate

Folder