Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreItemPatch

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Composable typed item changes for one or many PST items. The patch is reusable and does not retain an item.

Inheritance

  • object
  • EmailStoreItemPatch

Usage

Explore 12 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Constructors

public EmailStoreItemPatch() #

Methods

public EmailStoreItemPatch ClearFollowUp() #

Clears follow-up state.

public EmailStoreItemPatch CompleteFollowUp(DateTimeOffset completedAt) #

Marks a follow-up complete.

Parameters

completedAt System.DateTimeOffset required
public EmailStoreItemPatch PatchAttachments(EmailAttachmentPatch patch) #

Appends attachment operations to this patch.

Parameters

patch OfficeIMO.Email.EmailAttachmentPatch required
public EmailStoreItemPatch PatchProperties(MapiPropertyPatch patch) #

Appends exact MAPI changes to this patch.

Parameters

patch OfficeIMO.Email.MapiPropertyPatch required
public EmailStoreItemPatch SetCategories(IEnumerable<string> categories) #

Replaces item category names using Outlook's case-insensitive normalization.

Parameters

categories System.Collections.Generic.IEnumerable<string> required
public EmailStoreItemPatch SetFollowUp(string? request = null, DateTimeOffset? start = null, DateTimeOffset? due = null, OutlookFollowUpIcon? icon = null) #

Sets a follow-up flag.

Parameters

request string? = null optional
start System.DateTimeOffset? = null optional
due System.DateTimeOffset? = null optional
icon OfficeIMO.Email.OutlookFollowUpIcon? = null optional
public EmailStoreItemPatch SetImportance(EmailMessageImportance? importance) #

Sets or clears message importance.

Parameters

importance OfficeIMO.Email.EmailMessageImportance? required
public EmailStoreItemPatch SetReadState(bool isRead) #

Marks the message read or unread.

Parameters

isRead bool required
public EmailStoreItemPatch SetReminder(OutlookReminder reminder) #

Replaces common message, appointment, or task reminder fields.

Parameters

reminder OfficeIMO.Email.OutlookReminder required
public EmailStoreItemPatch SetSensitivity(int? sensitivity) #

Sets or clears the raw MAPI sensitivity value.

Parameters

sensitivity int? required

Properties

public MapiPropertyPatch Properties { get; } #

Exact MAPI property changes applied after typed projection.

public EmailAttachmentPatch Attachments { get; } #

Ordered attachment-list changes.

public int ChangeCount { get; private set; } #

Number of typed, property, and attachment operations in this patch.

public bool IsEmpty { get; } #

Whether no operation is staged.