# EmailAttachmentPatchChange

One immutable attachment-list patch operation.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailAttachmentPatch.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Model/EmailAttachmentPatch.cs#L22)

**Modifiers**

sealed

One immutable attachment-list patch operation.

## Inheritance

- object
- EmailAttachmentPatchChange

## Usage

Explore 1 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 1

- Property [EmailAttachmentPatch.Changes](/api/email/officeimo-email-emailattachmentpatch/#property-changes)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public EmailAttachmentPatchOperation Operation { get; }` [#](#property-operation)

[EmailAttachmentPatch.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Model/EmailAttachmentPatch.cs#L22)

Operation to apply.

`public int? Index { get; }` [#](#property-index)

[EmailAttachmentPatch.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Model/EmailAttachmentPatch.cs#L24)

Zero-based index for remove and replace operations.

`public EmailAttachment? Attachment { get; }` [#](#property-attachment)

[EmailAttachmentPatch.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Model/EmailAttachmentPatch.cs#L26)

Attachment for add and replace operations.

<!-- PowerForge markdown artifact sha256:D0095E1D25266383B8CDB28FFC40CB9FEBD596E91301B99AE0DA09E4D1D66127 -->
