共用方式為


Content Type Binding Schema

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.

Each element manifest file that specifies a content type binding must adhere to the Content Type Binding Definition Schema.

Content type binding enables you to provision a content type on a list defined in the onet.xml schema. Lists defined in the onet.xml schema cannot be modified directly.

Following is a list of the elements in the Content Type Binding Definition Schema.

<Elements Element (ContentTypeBinding)>

   <ContentTypeBinding Element (ContentTypeBinding)>

Content Type Binding Definition Schema Example

The following example specifies a content type to bind to the specified list type.

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ContentTypeBinding
    ContentTypeId="0x010100C5A8DB52D9D0A14D9B2FDCC96666E9F2" 
    ListUrl="_catalogs/masterpage"
  />
</Elements>

See Also

Reference

Elements Element (ContentTypeBinding)

ContentTypeBinding Element (ContentTypeBinding)

Concepts

Content Type Definition Schema