EmailIrmInfo Class

Definition

Represents email information rights management (IRM) info.

public ref class EmailIrmInfo sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Email.IEmailIrmInfoFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailIrmInfo final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Email.IEmailIrmInfoFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class EmailIrmInfo final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Email.IEmailIrmInfoFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailIrmInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Email.IEmailIrmInfoFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class EmailIrmInfo
function EmailIrmInfo(expiration, irmTemplate)
Public NotInheritable Class EmailIrmInfo
Inheritance
Object Platform::Object IInspectable EmailIrmInfo
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
email emailSystem

Constructors

EmailIrmInfo()

Initializes a new instance of the EmailIrmInfo class.

EmailIrmInfo(DateTime, EmailIrmTemplate)

Initializes a new instance of the EmailIrmInfo class using the specified IRM expiration time and template.

Properties

CanEdit

Gets or sets a Boolean value that indicates if an email message is allowed to be edited.

CanExtractData

Gets or sets a Boolean value that indicates if the user can copy the contents of an email message to the clipboard.

CanForward

Gets or sets a Boolean value that indicates if the email message is allowed to be forwarded.

CanModifyRecipientsOnResponse

Gets or sets a Boolean value that indicates if the user is allowed to change any of the email recipients when responding.

CanPrintData

Gets or sets a Boolean value that indicates if the user is allowed to print the contents of the email message or any attachments.

CanRemoveIrmOnResponse

Gets or sets a Boolean value that indicates if the recipient is allowed to remove information rights management (IRM) when responding.

CanReply

Gets or sets a Boolean value that indicates if the recipient is allowed to reply to the email message.

CanReplyAll

Gets or sets a Boolean value that indicates if the recipient is allowed to reply all to the email message.

ExpirationDate

Gets or sets the expiration date for the information rights management (IRM) permissions.

IsIrmOriginator

Gets or sets a Boolean value that indicates if the sender is the information rights management (IRM) originator.

IsProgramaticAccessAllowed

Gets or sets a Boolean value that indicates if programmatic access to the message is allowed.

Template

Gets or sets the EmailIrmTemplate used to create the information rights management (IRM) info.

Applies to