Share via


MetaData Element (List)

Applies to: SharePoint Foundation 2010

Used in list definitions (Schema.xml file) to separate list metadata from data.

<MetaData>
</MetaData>

Attributes

Attribute

Description

None

N/A

Child Elements

ContentTypes, Default, DefaultDescription, DocumentLibraryTemplate, Fields, Forms, Toolbar, Validation, Views

Parent Elements

List

Occurrences

Minimum: 0

Maximum: 1

Example

The following sample illustrates the skeletal structure of a list with MetaData and Data elements.

<List Name="Announcements" Title="My Announcements">
  <MetaData>
    <Fields>
      ...
    </Fields>
    <Views>
      ...
    </Views>
    <Forms>
      ...
    </Forms>
  </MetaData>
  <Data>
    <Rows>
      <Row>
        ...
    </Rows>
  </Data>
</List>

See Also

Reference

Data