---
title: "Aspose::Email::Mapi::ReferenceAttachmentOptions::get_PreviewUrl method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/referenceattachmentoptions/get_previewurl/"
product: "Aspose.Email for C++"
description: "Gets the preview URL of the reference attachment."
---


## get_PreviewUrl {#get_previewurl}

Gets the preview URL of the reference attachment. This URL can be used to generate a preview of the resource, if supported by the provider. The default value is Empty .

**Returns:** System::String Aspose::Email::Mapi::

```cpp
get_PreviewUrl()
```

