Share via


DefaultDocument class

Represents a document that will be provisioned automatically for every DocumentManagementDocumentSet object that is based on the associated content type.

Inheritance hierarchy

System.Object
  Microsoft.Office.DocumentManagement.DocumentSets.DefaultDocument

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

Syntax

'Declaration
Public Class DefaultDocument
'Usage
Dim instance As DefaultDocument
public class DefaultDocument

Remarks

Maps to the "default content" document in the Document Set Settings page user interface. To access a default document through the object model, use the ContentTypeTemplate property to return the content type template and then the DefaultDocuments property to access the DefaultDocumentCollection object.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

DefaultDocument members

Microsoft.Office.DocumentManagement.DocumentSets namespace