共用方式為


ContentTypeRef Element (List)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a reference to a content type to associate with lists that are created through the list definition.

<ContentTypeRef
  ID = "Text">
  <Folder
    TargetName="Text">
  </Folder>
</ContentTypeRef>

Attributes

Attribute

Description

ID

Required Text. Specifies the ID of the content type. For information on the format of content type IDs, see Content Type IDs.

Child Elements

Folder

Parent Elements

ContentTypes

Occurrences

Minimum: 0

Maximum: Unbounded