Class ReferenceAttachmentOptions

ReferenceAttachmentOptions class

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

public class ReferenceAttachmentOptions

Constructors

NameDescription
ReferenceAttachmentOptions(string, string, string)Initializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name.

Properties

NameDescription
IsFolder { get; set; }Gets or sets a value indicating whether the reference attachment is a folder. The default value is false.
OriginalPermissionType { get; set; }Gets or sets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None.
PermissionType { get; set; }Gets or sets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit.
PreviewUrl { get; set; }Gets or 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.
ProviderEndpointUrl { get; set; }Gets or sets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty.
ProviderName { get; set; }Gets or sets the name of the provider for the reference attachment. Examples include “GoogleDrive”, “OneDrive”, etc.
SharedLink { get; set; }Gets or 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.
ThumbnailUrl { get; set; }Gets or 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.
Url { get; set; }Gets or sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider’s interface.

See Also