次の方法で共有


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)

Syntax

'Declaration
Public ReadOnly Property XmlDocuments As SPXmlDocumentCollection
    Get
'Usage
Dim instance As SPContentType
Dim value As SPXmlDocumentCollection

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

Property value

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

Remarks

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

Reference

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