This topic has not yet been rated - Rate this topic

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ