次の方法で共有


Rows 要素 (リスト)

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

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

属性

属性

説明

なし

該当なし

子要素

Row

親要素

Data

Remarks

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

次のお知らせリストの Schema.xml ファイルのファイルの例は、ウェルカム ページのフィールドの 1 行を定義しています。

<Data>
   <Rows>
      <Row>
         <Field Name="Title">Welcome to your new team Web site!</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>