Share via


Attachment 要素 (DeploymentManifest)

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

Windows SharePoint Services 3.0 添付ファイル オブジェクト (SPAttachment) のインスタンスを表します。

定義

DECLARATION
<xs:element name="Attachment"
      type="SPAttachment"
      minOccurs="0" maxOccurs="unbounded"
/>
USAGE
<ListItem>
        <Attachments>
                <Attachment>
                        Name="xs:string"
                        DirName="xs:string"
                        Url="xs:string"
                        Id="Guid"
                        ParentWebId="Guid"
                        FileValue="xs:string"
                        MetaInfo="xs:string"
                        Author="xs:string"
                        ModifiedBy="xs:string"
                        TimeCreated="xs:dateTime"
                        TimeLastModified="xs:dateTime"
                        FailureMessage="xs:string"
                                <Properties />
                </Attachment>
        </Attachments>
</ListItem>

SPAttachement

要素と属性

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

属性

属性 説明
名前
xs:string
必須です。 添付ファイル名。
Dirname
xs:string
オプション。 添付ファイルが置かれているディレクトリの URL。
Url
xs:string
オプション。 添付ファイルの Web 相対 URL (ディレクトリ名 + ファイル名)。
ID
Guid
オプション。 添付ファイルの一意の識別子。
ParentWebId
Guid
オプション。 親 Web の一意の識別子。
FileValue
xs:string
必須です。 エクスポート パッケージによって管理される添付ファイルの識別子。
MetaInfo
xs:string
オプション。 添付ファイルのプロパティ バッグ値。
設定元
xs:string
オプション。 添付ファイルを作成またはアップロードしたユーザー。
ModifiedBy
xs:string
オプション。 添付ファイルを変更したユーザー。
TimeCreated
xs:dateTime
オプション。 添付ファイルが作成またはアップロードされた時刻。
TimeLastModified
xs:dateTime
オプション。 ファイルが最後に変更された時刻。
FailureMessage
xs:string
オプション。 エクスポート失敗のメッセージ。

子要素

親要素

注釈

Attachment 要素はドキュメント ライブラリに属していないリスト アイテムに使用できます。

関連項目