EmailStoreItemPatch
OfficeIMO.Email.Store
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.
Returned or exposed by 10
- Method EmailStoreItemPatch.ClearFollowUp
- Method EmailStoreItemPatch.CompleteFollowUp
- Method EmailStoreItemPatch.PatchAttachments
- Method EmailStoreItemPatch.PatchProperties
- Method EmailStoreItemPatch.SetCategories
- Method EmailStoreItemPatch.SetFollowUp
- Method EmailStoreItemPatch.SetImportance
- Method EmailStoreItemPatch.SetReadState
- Method EmailStoreItemPatch.SetReminder
- Method EmailStoreItemPatch.SetSensitivity
Accepted by parameters 2
Constructors
public EmailStoreItemPatch() #Methods
public EmailStoreItemPatch CompleteFollowUp(DateTimeOffset completedAt) #Marks a follow-up complete.
Parameters
- completedAt System.DateTimeOffset
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch PatchAttachments(EmailAttachmentPatch patch) #Appends attachment operations to this patch.
Parameters
- patch OfficeIMO.Email.EmailAttachmentPatch
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch PatchProperties(MapiPropertyPatch patch) #Appends exact MAPI changes to this patch.
Parameters
- patch OfficeIMO.Email.MapiPropertyPatch
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch SetCategories(IEnumerable<string> categories) #Replaces item category names using Outlook's case-insensitive normalization.
Parameters
- categories System.Collections.Generic.IEnumerable<string>
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch SetFollowUp(string? request = null, DateTimeOffset? start = null, DateTimeOffset? due = null, OutlookFollowUpIcon? icon = null) #Sets a follow-up flag.
Parameters
- request string? = null
- start System.DateTimeOffset? = null
- due System.DateTimeOffset? = null
- icon OfficeIMO.Email.OutlookFollowUpIcon? = null
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch SetImportance(EmailMessageImportance? importance) #Sets or clears message importance.
Parameters
- importance OfficeIMO.Email.EmailMessageImportance?
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch SetReadState(bool isRead) #Marks the message read or unread.
Parameters
- isRead bool
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch SetReminder(OutlookReminder reminder) #Replaces common message, appointment, or task reminder fields.
Parameters
- reminder OfficeIMO.Email.OutlookReminder
Returns
EmailStoreItemPatchpublic EmailStoreItemPatch SetSensitivity(int? sensitivity) #Sets or clears the raw MAPI sensitivity value.
Parameters
- sensitivity int?
Returns
EmailStoreItemPatchInherited Methods
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.