Represents configuration options for adding a reference attachment to a MAPI message. More...
Inherits Object.
Public Member Functions | |
| System::String | get_SharedLink () const |
| Gets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider. More... | |
| void | set_SharedLink (System::String value) |
| Sets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider. More... | |
| System::String | get_Url () const |
| Gets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface. More... | |
| void | set_Url (System::String value) |
| Sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface. More... | |
| System::String | get_ProviderName () const |
| Gets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc. More... | |
| void | set_ProviderName (System::String value) |
| Sets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc. More... | |
| AttachmentPermissionType | get_PermissionType () const |
| Gets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit. More... | |
| void | set_PermissionType (AttachmentPermissionType value) |
| Sets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit. More... | |
| AttachmentPermissionType | get_OriginalPermissionType () const |
| Gets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None. More... | |
| void | set_OriginalPermissionType (AttachmentPermissionType value) |
| Sets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None. More... | |
| bool | get_IsFolder () const |
| Gets a value indicating whether the reference attachment is a folder. The default value is false. More... | |
| void | set_IsFolder (bool value) |
| Sets a value indicating whether the reference attachment is a folder. The default value is false. More... | |
| System::String | get_ProviderEndpointUrl () const |
| Gets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty. More... | |
| void | set_ProviderEndpointUrl (System::String value) |
| Sets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty. More... | |
| System::String | get_PreviewUrl () const |
| 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. More... | |
| void | set_PreviewUrl (System::String value) |
| Sets 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. More... | |
| System::String | get_ThumbnailUrl () const |
| Gets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty. More... | |
| void | set_ThumbnailUrl (System::String value) |
| Sets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty. More... | |
| ReferenceAttachmentOptions (System::String sharedLink, System::String url, System::String providerName) | |
| Initializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name. More... | |
Represents configuration options for adding a reference attachment to a MAPI message.
| Aspose::Email::Mapi::ReferenceAttachmentOptions::ReferenceAttachmentOptions | ( | System::String | sharedLink, |
| System::String | url, | ||
| System::String | providerName | ||
| ) |
Initializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name.
| sharedLink | The shared link of the reference attachment. |
| url | The direct URL for accessing the reference attachment. |
| providerName | The name of the provider for the reference attachment. |
| bool Aspose::Email::Mapi::ReferenceAttachmentOptions::get_IsFolder | ( | ) | const |
Gets a value indicating whether the reference attachment is a folder. The default value is false.
| AttachmentPermissionType Aspose::Email::Mapi::ReferenceAttachmentOptions::get_OriginalPermissionType | ( | ) | const |
Gets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None.
| AttachmentPermissionType Aspose::Email::Mapi::ReferenceAttachmentOptions::get_PermissionType | ( | ) | const |
Gets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit.
| System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_PreviewUrl | ( | ) | const |
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.
| System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ProviderEndpointUrl | ( | ) | const |
Gets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty.
| System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ProviderName | ( | ) | const |
Gets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc.
| System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_SharedLink | ( | ) | const |
Gets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider.
| System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ThumbnailUrl | ( | ) | const |
Gets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty.
| System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_Url | ( | ) | const |
Gets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_IsFolder | ( | bool | value | ) |
Sets a value indicating whether the reference attachment is a folder. The default value is false.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_OriginalPermissionType | ( | AttachmentPermissionType | value | ) |
Sets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_PermissionType | ( | AttachmentPermissionType | value | ) |
Sets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_PreviewUrl | ( | System::String | value | ) |
Sets 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.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_ProviderEndpointUrl | ( | System::String | value | ) |
Sets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_ProviderName | ( | System::String | value | ) |
Sets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_SharedLink | ( | System::String | value | ) |
Sets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_ThumbnailUrl | ( | System::String | value | ) |
Sets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty.
| void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_Url | ( | System::String | value | ) |
Sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface.