---
title: "Aspose::Email::Mapi::ReferenceAttachmentOptions::set_Url method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/referenceattachmentoptions/set_url/"
product: "Aspose.Email for C++"
description: "Sets the direct URL for accessing the reference attachment."
---


## set_Url {#set_url}

Sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface.

**Returns:** void Aspose::Email::Mapi::

```cpp
set_Url(System::String value)
```

| Parameter | Description |
| --- | --- |
| value |  |

