适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013
包含一个指定列表的默认数据的 Row 元素的集合。
<Rows>
  <Row></Row>
  <Row></Row>
  ...
</Rows>
元素和属性
下面各部分介绍了属性、子元素和父元素。
Attributes
无
子元素
父元素
出现次数
- 最小值:0
- 最大值:1
备注
在列表定义的 Data 元素中使用 Rows 元素可在网站设置过程中实例化列表时提供一组默认数据。
示例
下面的示例为欢迎页定义一行字段。
<Data>
   <Rows>
      <Row>
         <Field Name="Title">Welcome to your new team website!</Field>
         <Field Name="Body">You can use this site to share information
            with members of the site. To add a new announcement, click
            "Add new announcement" below. This is a great way to
            communicate news with your team.</Field>
         <Field Name="Expires"><ows:TodayISO/></Field>
      </Row>
   </Rows>
</Data>