ContentTypes 元素 (DeploymentManifest)

适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

表示列表项的Windows SharePoint Services 3.0 内容类型规范的容器或集合。

定义

DECLARATION
<xs:element name="ContentTypes" type="SPContentTypeCollection" minOccurs="0" maxOccurs="1" />

USAGE
<List>
   <ContentTypes />
</List>

类型

SPContentTypeCollection

元素和属性

下面各部分介绍了属性、子元素和父元素。

Attributes

子元素

父元素

List 元素 (DeploymentManifest)

备注

ContentTypes 元素表示的集合包含 ContentType 元素 (DeploymentManifest) 元素表示的对象实例。

另请参阅