# EmailDataOpenResult

One typed artifact returned by its existing OfficeIMO owner. Dispose the result to close sessions and retained streaming email content.

Class 

`OfficeIMO.Email.Data`

**Namespace**

`OfficeIMO.Email.Data`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailDataOpenResult.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L70)

**Implements**

`IDisposable`

**Modifiers**

sealed

One typed artifact returned by its existing OfficeIMO owner. Dispose the result to close sessions and retained streaming email content.

## Inheritance

- object
- EmailDataOpenResult

## Usage

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

- Method [EmailDataArtifact.Open](/api/email/officeimo-email-data-emaildataartifact/#method-open-string-officeimo-email-data-emaildataopenoptions-threading-cancellationtoken)

### Accepted by parameters 1

- Method [EmailDataInspector.Inspect](/api/email/officeimo-email-data-emaildatainspector/#method-inspect-officeimo-email-data-emaildataopenresult-officeimo-email-data-emaildatainspectionoptions-threading-cancellationtoken) parameter `opened`

Filter members 

Show inherited

## Methods

`public void Dispose()` [#](#method-dispose)

[EmailDataOpenResult.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L70)

Closes a store/OAB session or releases file-backed email content. Parsed ICS/VCF objects need no disposal.

## 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 string SourcePath { get; }` [#](#property-sourcepath)

[EmailDataOpenResult.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L48)

Normalized path supplied to the selected owner.

`public EmailDataArtifactKind Kind { get; }` [#](#property-kind)

[EmailDataOpenResult.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L50)

Selected artifact owner and result type.

`public EmailReadResult? Email { get; }` [#](#property-email)

[EmailDataOpenResult.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L52)

Individual-email read result, including fidelity diagnostics.

`public EmailDocument? EmailDocument { get; }` [#](#property-emaildocument)

[EmailDataOpenResult.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L54)

Individual email document convenience projection.

`public IcsDocument? Calendar { get; }` [#](#property-calendar)

[EmailDataOpenResult.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L56)

Parsed iCalendar document.

`public VCardDocument? Contact { get; }` [#](#property-contact)

[EmailDataOpenResult.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L58)

Parsed vCard document.

`public EmailStoreSession? Store { get; }` [#](#property-store)

[EmailDataOpenResult.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L60)

Open mailbox-store session.

`public OfflineAddressBookSession? AddressBook { get; }` [#](#property-addressbook)

[EmailDataOpenResult.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L62)

Open Offline Address Book session.

`public object Artifact { get; }` [#](#property-artifact)

[EmailDataOpenResult.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenResult.cs#L65)

The selected owner result as its public OfficeIMO type.

<!-- PowerForge markdown artifact sha256:89D79592B76499F24170F1357F82E5CB3F558D94BBD280CE010C8467F32B3914 -->
