Share via


DefaultDocumentCollection.AddSetName property

Gets or sets a value that indicates whether or not custom XML-based documents identified in the associated content type definition should be added to the DefaultDocumentCollection list.

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

Syntax

'Declaration
Public Property AddSetName As Boolean
    Get
    Set
'Usage
Dim instance As DefaultDocumentCollection
Dim value As Boolean

value = instance.AddSetName

instance.AddSetName = value
public bool AddSetName { get; set; }

Property value

Type: System.Boolean
true to include the custom XML documents in the DefaultDocumentCollection list; otherwise, false.

Remarks

You can include custom information in content type definitions by adding special XML nodes. These XML nodes are represented by the XmlDocument Element (ContentType) element in the content type definition and you can access them programmatically through the object model.

See also

Reference

DefaultDocumentCollection class

DefaultDocumentCollection members

Microsoft.Office.DocumentManagement.DocumentSets namespace

XmlDocuments

Other resources

Custom Information in Content Types