SPContentType.XmlDocuments 属性

获取表示存储在内容类型的 XML 文档SPXmlDocumentCollection

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property XmlDocuments As SPXmlDocumentCollection
    Get
用法
Dim instance As SPContentType
Dim value As SPXmlDocumentCollection

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

属性值

类型:Microsoft.SharePoint.SPXmlDocumentCollection
存储在内容类型的 XML 文档。

备注

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 in the content type definition, and you can access them programmatically through the object model.

For more information, see Custom Information in Content Types.

另请参阅

引用

SPContentType 类

SPContentType 成员

Microsoft.SharePoint 命名空间

其他资源

Custom Information in Content Types

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy