> ## 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.

# GetAttachmentNames

> Rufen Sie GetAttachmentNames in der ABBYY FlexiCapture API auf, um die Anhänge eines bestimmten Typs für ein Dokument-, Seite- oder Batch-Objekt aufzulisten.

<div id="what-it-does">
  ## Funktion
</div>

Gibt eine Liste der Anhänge des angegebenen Typs für das ausgewählte Objekt zurück.

<div id="definition">
  ## Definition
</div>

```
string[] GetAttachmentNames( int type, int objectId, int batchId, int projectId );
```

<div id="parameters">
  ## Parameter
</div>

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Typ</strong></p></td><td><p><strong>Beschreibung</strong></p></td></tr><tr><td><p>type</p></td><td><p>int</p></td><td><p>Typ des Anhangs. Mögliche Werte:</p><ul><li><strong>9</strong> - Anhang zu einem Dokument;</li><li><strong>10</strong> - Anhang zu einer Seite;</li><li><strong>11</strong> - Anhang zu einem Batch.</li></ul></td></tr><tr><td><p>objectId</p></td><td><p>int</p></td><td><p>Die ID des Objekts</p></td></tr><tr><td><p>batchId</p></td><td><p>int</p></td><td><p>Die ID des Batches</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>Die ID des Projekts</p></td></tr></tbody></table>

<div id="returned-value">
  ## Rückgabewert
</div>

| **Typ**   | **Beschreibung**                               |
| --------- | ---------------------------------------------- |
| string\[] | Die Liste der Anhänge des ausgewählten Objekts |
