# EmailEvidenceAttachment

Attachment metadata and resident payload hash. A null hash means the payload was not available without deferred I/O.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

**Implements**

`IEquatable<EmailEvidenceAttachment>`

**Modifiers**

sealed

Attachment metadata and resident payload hash. A null hash means the payload was not available without deferred I/O.

## Inheritance

- object
- EmailEvidenceAttachment

## Usage

Explore 9 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 2

- Method [EmailEvidenceAttachment.<Clone>$](/api/workflows/officeimo-workflows-emailevidenceattachment/#method-clone)
- Property [EmailEvidenceMessage.Attachments](/api/workflows/officeimo-workflows-emailevidencemessage/#property-attachments)

### Accepted by parameters 7

- Method [EmailEvidenceAttachment.Equals](/api/workflows/officeimo-workflows-emailevidenceattachment/#method-equals-emailevidenceattachment) parameter `other`
- Method [EmailEvidenceAttachment.op_Equality](/api/workflows/officeimo-workflows-emailevidenceattachment/#method-op-equality-emailevidenceattachment-emailevidenceattachment) parameter `left`
- Method [EmailEvidenceAttachment.op_Equality](/api/workflows/officeimo-workflows-emailevidenceattachment/#method-op-equality-emailevidenceattachment-emailevidenceattachment) parameter `right`
- Method [EmailEvidenceAttachment.op_Inequality](/api/workflows/officeimo-workflows-emailevidenceattachment/#method-op-inequality-emailevidenceattachment-emailevidenceattachment) parameter `left`
- Method [EmailEvidenceAttachment.op_Inequality](/api/workflows/officeimo-workflows-emailevidenceattachment/#method-op-inequality-emailevidenceattachment-emailevidenceattachment) parameter `right`
- Constructor [EmailEvidenceMessage.EmailEvidenceMessage](/api/workflows/officeimo-workflows-emailevidencemessage/#constructor-ctor-string-string-string-string-string-nullable-system-datetimeoffset-nullable-system-datetimeoffset-string-string-string-boolean-collections-generic-ireadonlylist-officeimo-workflows-emailevidenceattachment) parameter `Attachments`
- Method [EmailEvidenceMessage.Deconstruct](/api/workflows/officeimo-workflows-emailevidencemessage/#method-deconstruct-string-string-string-string-string-nullable-datetimeoffset-nullable-datetimeoffset-string-string-string-boolean-ireadonlylist-emailevidenceattachment) parameter `Attachments`

Filter members 

Show inherited

## Constructors

`public EmailEvidenceAttachment(int Index, string? Name, string? ContentType, long Length, bool Inline, bool EmbeddedMessage, string? Sha256)` [#](#constructor-ctor-int32-string-string-int64-boolean-boolean-string)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

Attachment metadata and resident payload hash. A null hash means the payload was not available without deferred I/O.

Parameters

**Index int required**

**Name string? required**

**ContentType string? required**

**Length long required**

**Inline bool required**

**EmbeddedMessage bool required**

**Sha256 string? required**

## Methods

`public EmailEvidenceAttachment <Clone>$()` [#](#method-clone)

Returns

`EmailEvidenceAttachment`

`public void Deconstruct(out int Index, out string? Name, out string? ContentType, out long Length, out bool Inline, out bool EmbeddedMessage, out string? Sha256)` [#](#method-deconstruct-int32-string-string-int64-boolean-boolean-string)

Parameters

**Index int required**

**Name string? required**

**ContentType string? required**

**Length long required**

**Inline bool required**

**EmbeddedMessage bool required**

**Sha256 string? required**

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(EmailEvidenceAttachment? other)` [#](#method-equals-emailevidenceattachment)

Parameters

**other EmailEvidenceAttachment? required**

Returns

`bool`

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

Returns

`int`

`public static bool op_Equality(EmailEvidenceAttachment? left, EmailEvidenceAttachment? right)` [#](#method-op-equality-emailevidenceattachment-emailevidenceattachment)

Parameters

**left EmailEvidenceAttachment? required**

**right EmailEvidenceAttachment? required**

Returns

`bool`

`public static bool op_Inequality(EmailEvidenceAttachment? left, EmailEvidenceAttachment? right)` [#](#method-op-inequality-emailevidenceattachment-emailevidenceattachment)

Parameters

**left EmailEvidenceAttachment? required**

**right EmailEvidenceAttachment? required**

Returns

`bool`

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

Returns

`string`

## Inherited Methods

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

Inherited from object

Returns

`Type`

## Properties

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

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

`public string? Name { get; init; }` [#](#property-name)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

`public string? ContentType { get; init; }` [#](#property-contenttype)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

`public long Length { get; init; }` [#](#property-length)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

`public bool Inline { get; init; }` [#](#property-inline)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

`public bool EmbeddedMessage { get; init; }` [#](#property-embeddedmessage)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

`public string? Sha256 { get; init; }` [#](#property-sha256)

[EmailEvidenceContracts.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Email/EmailEvidenceContracts.cs#L91)

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