## IGraphClient.ListAttachments method

List Attachments from the parent message.

```csharp
public MapiAttachmentCollection ListAttachments(string id, ODataQueryBuilder queryBuilder = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| id | String | Parent message id |
| queryBuilder | ODataQueryBuilder | Optional OData query builder for filtering attachments. |

### Return Value

Returns list of attachments of a message

### See Also

* class [MapiAttachmentCollection](../../../aspose.email.mapi/mapiattachmentcollection/)
* class [ODataQueryBuilder](../../odataquerybuilder/)
* interface [IGraphClient](../)
* namespace [Aspose.Email.Clients.Graph](../../igraphclient/)
* assembly [Aspose.Email](../../../)


