Condividi tramite


Content Type Bindings

Applies to: SharePoint Foundation 2010

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="https://schemas.microsoft.com/sharepoint/">
  <ContentTypeBinding
    ContentTypeId="0x010100C5A8DB52D9D0A14D9B2FDCC96666E9F2" 
    ListUrl="_catalogs/masterpage"
  />
</Elements>

See Also

Reference

Elements Element (ContentTypeBinding)

ContentTypeBinding Element (ContentTypeBinding)

Concepts

Content Type Definitions