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