---
schema_version: "1"
id: a13457b432fd33379e4632ec7459d2c86f756f23d443796c9a86bfdca1279281
title: Multipart (dw::module::Multipart)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.6/dw-multipart.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.6/dw-multipart
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4f63d5094d30ebaa7324391f70236c296a50d3338c8864004d3a641c053ded07
description: MuleSoft Documentation Site
release: "2.6"
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.6/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.6/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.6/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.6/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.6/dw-multipart-types)