> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RemoveAttachment

> Appelez RemoveAttachment dans l’API ABBYY FlexiCapture pour supprimer, à partir de son nom, une pièce jointe d’un document, d’une page ou d’un lot sur le serveur d’applications.

<div id="what-it-does">
  ## Ce qu’il fait
</div>

Supprime une pièce jointe

<div id="definition">
  ## Définition
</div>

```
void RemoveAttachment( int sessionId, int type, int objectId, int batchId, int projectId, string fileName );Vf
```

<div id="parameters">
  ## Paramètres
</div>

<table width="100%"><tbody><tr><td><p><strong>Nom</strong></p></td><td><p><strong>Type</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>session</p></td><td><p>int</p></td><td><p>ID de la connexion à le serveur d’applications</p></td></tr><tr><td><p>type</p></td><td><p>int</p></td><td><p>Type de la pièce jointe. Valeurs possibles</p><ul><li><strong>9</strong> - pièce jointe à un document ;</li><li><strong>10</strong> - pièce jointe à une page ;</li><li><strong>11</strong> - pièce jointe à un lot.</li></ul></td></tr><tr><td><p>objectId</p></td><td><p>int</p></td><td><p>ID de l’objet</p></td></tr><tr><td><p>batchId</p></td><td><p>int</p></td><td><p>ID du lot</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>ID du projet</p></td></tr><tr><td><p>fileName</p></td><td><p>string</p></td><td><p>Nom de la pièce jointe à supprimer</p></td></tr></tbody></table>

<div id="returned-value">
  ## Valeur de retour
</div>

Aucune.
