# EmailMessageAttachment

Handle-free attachment metadata tied to one source message.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[EmailMessage.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L106)

**Modifiers**

sealed

Handle-free attachment metadata tied to one source message.

## Inheritance

- object
- EmailMessageAttachment

## 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 [EmailMessage.Attachments](/api/email/officeimo-email-emailmessage/#property-attachments)

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 EmailMessage Message { get; }` [#](#property-message)

[EmailMessage.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L106)

Owning source message.

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

[EmailMessage.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L108)

Zero-based position in the source attachment collection.

`public string? FileName { get; }` [#](#property-filename)

[EmailMessage.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L110)

Original, untrusted filename.

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

[EmailMessage.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L112)

Declared media type.

`public string? ContentId { get; }` [#](#property-contentid)

[EmailMessage.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L114)

Embedded resource identifier.

`public string? ContentLocation { get; }` [#](#property-contentlocation)

[EmailMessage.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L116)

Embedded resource location.

`public bool IsInline { get; }` [#](#property-isinline)

[EmailMessage.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L118)

Whether marked inline by the source.

`public bool IsHidden { get; }` [#](#property-ishidden)

[EmailMessage.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L120)

Whether hidden by Outlook.

`public long Size { get; }` [#](#property-size)

[EmailMessage.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Email/Workflows/EmailMessage.cs#L122)

Declared decoded size.

<!-- PowerForge markdown artifact sha256:3AE35DFACA3BF2BDAB4A894D771723A46CDCC46C59D91D70E7B4083B2D9B4E2F -->
