ReferenceAttachmentOptions

ReferenceAttachmentOptions class

Represents configuration options for adding a reference attachment to a MAPI message.

Constructors

NameDescription
ReferenceAttachmentOptionsInitializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name.

Methods

NameDescription
get_IsFolderGets a value indicating whether the reference attachment is a folder. The default value is false .
get_OriginalPermissionTypeGets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None .
get_PermissionTypeGets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit .
get_PreviewUrlGets 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_ProviderEndpointUrlGets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty .
get_ProviderNameGets the name of the provider for the reference attachment. Examples include “GoogleDrive”, “OneDrive”, etc.
get_SharedLinkGets 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_ThumbnailUrlGets 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_UrlGets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider’s interface.
set_IsFolderSets a value indicating whether the reference attachment is a folder. The default value is false .
set_OriginalPermissionTypeSets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None .
set_PermissionTypeSets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit .
set_PreviewUrlSets 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_ProviderEndpointUrlSets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty .
set_ProviderNameSets the name of the provider for the reference attachment. Examples include “GoogleDrive”, “OneDrive”, etc.
set_SharedLinkSets 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_ThumbnailUrlSets 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_UrlSets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider’s interface.