다음을 통해 공유


Components Element (Site)

Applies to: SharePoint Foundation 2010

Used in the Onet.xml file of a site definition to provide information about Microsoft SharePoint Foundation 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>