API Reference
Class
EmailAttachmentPatch
Ordered, bounds-checked changes to an email attachment collection.
Inheritance
- Object
- EmailAttachmentPatch
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method EmailAttachmentPatch.Add
- Method EmailAttachmentPatch.RemoveAt
- Method EmailAttachmentPatch.ReplaceAt
- Property EmailStoreItemPatch.Attachments
Accepted by parameters
Constructors
public EmailAttachmentPatch() #Methods
public EmailAttachmentPatch Add(EmailAttachment attachment) #Returns:
EmailAttachmentPatchStages an attachment append.
Parameters
- attachment OfficeIMO.Email.EmailAttachment
public Void Apply(IList<EmailAttachment> attachments) #Returns:
VoidApplies all operations only after the complete ordered patch has passed validation.
Parameters
- attachments System.Collections.Generic.IList{OfficeIMO.Email.EmailAttachment}
public EmailAttachmentPatch RemoveAt(Int32 index) #Returns:
EmailAttachmentPatchStages removal at the current zero-based index.
Parameters
- index System.Int32
public EmailAttachmentPatch ReplaceAt(Int32 index, EmailAttachment attachment) #Returns:
EmailAttachmentPatchStages replacement at the current zero-based index.
Parameters
- index System.Int32
- attachment OfficeIMO.Email.EmailAttachment
public Void Validate(IList<EmailAttachment> attachments) #Returns:
VoidValidates every operation against the collection state produced by preceding operations.
Parameters
- attachments System.Collections.Generic.IList{OfficeIMO.Email.EmailAttachment}
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object