---
schema_version: "1"
id: 3e076341b859fe5e1cdabdbcbb0d50b702f29d2b9f9fbf61ba3d21cddb7accaf
title: Multipart (dw::module::Multipart)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-multipart.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-multipart
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 374acc6bec3c198bb4fa3c58a82d1fc58839e1b1615d1c0fff6fe7324436e9e4
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# Multipart (dw::module::Multipart)

このヘルパーモジュールは、マルチパートと形式、およびマルチパート形式のパート (項目と境界を含む) を作成するための関数を提供します。

このモジュールを使用するには、DataWeave コードにインポートする必要があります。その方法として、たとえば、行 ​`import dw::module::Multipart`​ を DataWeave スクリプトのヘッダーに追加します。

## [](#関数)関数

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<a href="https://docs.mulesoft.com/jp/dataweave/2.3/dw-multipart-functions-field" class="xref page">field</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指定されたパート名、そのパートの入力コンテンツ、形式 (または MIME タイプ)、および省略可能なファイル名を使用して、​<code>MultipartPart</code>​ データ構造を作成します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<a href="https://docs.mulesoft.com/jp/dataweave/2.3/dw-multipart-functions-file" class="xref page">file</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">ソースファイルから ​<code>MultipartPart</code>​ データ構造を作成します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<a href="https://docs.mulesoft.com/jp/dataweave/2.3/dw-multipart-functions-form" class="xref page">form</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指定されたパートの配列を使用して ​<code>Multipart</code>​ データ構造を作成します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<a href="https://docs.mulesoft.com/jp/dataweave/2.3/dw-multipart-functions-generateboundary" class="xref page">generateBoundary</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<code>Multipart</code>​ データ構造の境界を生成するためのヘルパー関数。</p></td>
</tr>
</tbody>
</table>

## [](#型)型

- [Multipart 型](https://docs.mulesoft.com/jp/dataweave/2.3/dw-multipart-types)