다음을 통해 공유


DefaultDocument.ContentTypeId Property

Gets or sets the SPContentTypeId of the DefaultDocument object.

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

Syntax

'Declaration
Public Property ContentTypeId As SPContentTypeId
    Get
    Set
'Usage
Dim instance As DefaultDocument
Dim value As SPContentTypeId

value = instance.ContentTypeId

instance.ContentTypeId = value
public SPContentTypeId ContentTypeId { get; set; }

Property Value

Type: Microsoft.SharePoint.SPContentTypeId
The SPContentTypeId of the DefaultDocument object.

See Also

Reference

DefaultDocument Class

DefaultDocument Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace