共用方式為


EmailIrmInfo 類別

定義

代表電子郵件資訊版權管理 (IRM) 資訊。

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
繼承
Object Platform::Object IInspectable EmailIrmInfo
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
email emailSystem

建構函式

EmailIrmInfo()

初始化 EmailIrmInfo 類別的新實例。

EmailIrmInfo(DateTime, EmailIrmTemplate)

使用指定的 IRM 到期時間和範本,初始化 EmailIrmInfo 類別的新實例。

屬性

CanEdit

取得或設定布林值,指出是否允許編輯電子郵件訊息。

CanExtractData

取得或設定布林值,指出使用者是否可以將電子郵件訊息的內容複寫到剪貼簿。

CanForward

取得或設定布林值,指出是否允許轉寄電子郵件訊息。

CanModifyRecipientsOnResponse

取得或設定布林值,指出使用者是否允許在回應時變更任何電子郵件收件者。

CanPrintData

取得或設定布林值,指出是否允許使用者列印電子郵件訊息或任何附件的內容。

CanRemoveIrmOnResponse

取得或設定布林值,指出是否允許收件者在回應時移除資訊版權管理 (IRM) 。

CanReply

取得或設定布林值,指出是否允許收件者回復電子郵件訊息。

CanReplyAll

取得或設定布林值,指出是否允許收件者回復所有電子郵件訊息。

ExpirationDate

取得或設定資訊版權管理 (IRM) 許可權的到期日。

IsIrmOriginator

取得或設定布林值,指出傳送者是否為資訊版權管理 (IRM) 來源程式。

IsProgramaticAccessAllowed

取得或設定布林值,指出是否允許以程式設計方式存取訊息。

Template

取得或設定用來建立資訊版權管理 (IRM) 資訊的 EmailIrmTemplate

適用於