次の方法で共有


Rows 要素 (Site)

適用対象: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

リストの既定データを指定する Row 要素のコレクションが含まれます。

<Rows>
  <Row></Row>
  <Row></Row>
  ...
</Rows>

要素と属性

以下のセクションで、属性、子要素、親要素について説明します。

属性

なし

子要素

親要素

Occurrences

  • 最小 : 0
  • 最大: 1

注釈

Rows 要素は、リスト定義の Data 要素内で使用され、サイトの準備中にリストをインスタンス化するときの既定のデータ セットを提供します。

次の例では、ウェルカム ページのフィールドの 1 行を定義しています。

<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>