SPContentType.XmlDocuments property

Gets an SPXmlDocumentCollection that represents the XML documents that are stored within the content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPXmlDocumentCollection XmlDocuments { get; }

Property value

Type: Microsoft.SharePoint.SPXmlDocumentCollection
The XML documents that are stored within the content type.

By design, content types are extensible. 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.

For more information, see Custom Information in Content Types.

Show: