ReferenceAttachmentOptions
Contents
[
Hide
]ReferenceAttachmentOptions class
Represents configuration options for adding a reference attachment to a MAPI message.
Constructors
| Name | Description |
|---|---|
| ReferenceAttachmentOptions | Initializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name. |
Methods
| Name | Description |
|---|---|
| get_IsFolder | Gets a value indicating whether the reference attachment is a folder. The default value is false . |
| get_OriginalPermissionType | Gets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None . |
| get_PermissionType | Gets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit . |
| 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 . |
| get_ProviderEndpointUrl | Gets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty . |
| get_ProviderName | Gets the name of the provider for the reference attachment. Examples include “GoogleDrive”, “OneDrive”, etc. |
| get_SharedLink | 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. |
| get_ThumbnailUrl | 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 . |
| get_Url | Gets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider’s interface. |
| set_IsFolder | Sets a value indicating whether the reference attachment is a folder. The default value is false . |
| set_OriginalPermissionType | Sets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None . |
| set_PermissionType | Sets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit . |
| set_PreviewUrl | 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 . |
| set_ProviderEndpointUrl | Sets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty . |
| set_ProviderName | Sets the name of the provider for the reference attachment. Examples include “GoogleDrive”, “OneDrive”, etc. |
| set_SharedLink | 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. |
| set_ThumbnailUrl | 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 . |
| set_Url | Sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider’s interface. |