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 ReadOnly Property XmlDocuments As SPXmlDocumentCollection

Dim instance As SPContentType
Dim value As SPXmlDocumentCollection

value = instance.XmlDocuments
public SPXmlDocumentCollection XmlDocuments { get; }

Property Value

Type: Microsoft.SharePoint.SPXmlDocumentCollection
An SPXmlDocumentCollection object.


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.

See Also


SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

Other Resources

Custom Information in Content Types

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy

SPContentType Object Overview