Condividi tramite


Components Element (Site)

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.

Used in the Onet.xml file of a site definition to provide information about Windows SharePoint Services components.

<Components>
</Components>

Attributes

Attribute

Description

None

N/A

Child Elements

ExternalSecurityProvider, FileDialogPostProcessor

Parent Elements

Project

Occurrences

Minimum: 0

Maximum: 1

Remarks

Both child elements of the Components element are optional, and neither element can appear more than once.

Example

The following example from an Onet.xml file shows how the Components element is used.

<Components>
  <FileDialogPostProcessor ID="C6659361-1625-4746-931C-36014B146679" />
  <ExternalSecurityProvider ID="A373E6A8-7A87-11D3-B1C1-00C04F68155C" 
    Type="Microsoft.SharePoint.Portal;Microsoft.SharePoint
    .Portal.SiteData.CategoryWebSecurityProvider" />
</Components>