# EmailStoreItemReference

Lightweight stable reference to an item that can be read explicitly from a session.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreItemReference.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L15)

**Modifiers**

sealed

Lightweight stable reference to an item that can be read explicitly from a session.

## Inheritance

- object
- EmailStoreItemReference

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read and Convert PST, OST, and Mailbox Stores](/docs/email/mailbox-stores/) Guide
  
  Open PST, OST, OLM, mbox, EMLX, Apple Mail, and Maildir stores, export their messages, and convert a store to a new PST with verification.
- [Read PST and OST Files in .NET Without Outlook](/solutions/outlook-mailbox-migration/) Guide
  
  Read PST, OST, OLM, mbox, EMLX, Apple Mail, and Maildir in .NET without Outlook, then extract messages or write and verify a new PST.

## Usage

Explore 15 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 13

- Property [EmailConversationNode.Reference](/api/email/officeimo-email-store-emailconversationnode/#property-reference)
- Property [EmailStoreAssociatedItem.Reference](/api/email/officeimo-email-store-emailstoreassociateditem/#property-reference)
- Property [EmailStoreContentSearchResult.Reference](/api/email/officeimo-email-store-emailstorecontentsearchresult/#property-reference)
- Property [EmailStoreExportEntry.Reference](/api/email/officeimo-email-store-emailstoreexportentry/#property-reference)
- Property [EmailStoreMboxExportEntry.Reference](/api/email/officeimo-email-store-emailstoremboxexportentry/#property-reference)
- Method [EmailStorePstMutationTransaction.EnumerateItems](/api/email/officeimo-email-store-emailstorepstmutationtransaction/#method-enumerateitems)
- Property [EmailStorePstSplitPlanPart.Items](/api/email/officeimo-email-store-emailstorepstsplitplanpart/#property-items)
- Property [EmailStoreRecoveryReport.RecoveredItems](/api/email/officeimo-email-store-emailstorerecoveryreport/#property-recovereditems)
- Property [EmailStoreReminderQueueItem.Reference](/api/email/officeimo-email-store-emailstorereminderqueueitem/#property-reference)
- Property [EmailStoreSearchResult.Reference](/api/email/officeimo-email-store-emailstoresearchresult/#property-reference)
- Method [EmailStoreSession.EnumerateItems](/api/email/officeimo-email-store-emailstoresession/#method-enumerateitems-officeimo-email-store-emailstoreenumerationoptions-threading-cancellationtoken)
- Method [EmailStoreSession.EnumerateItemsAsync](/api/email/officeimo-email-store-emailstoresession/#method-enumerateitemsasync-officeimo-email-store-emailstoreenumerationoptions-threading-cancellationtoken)
- Property [EmailStoreTableRow.Reference](/api/email/officeimo-email-store-emailstoretablerow/#property-reference)

### Accepted by parameters 2

- Method [EmailStoreSession.ReadItem](/api/email/officeimo-email-store-emailstoresession/#method-readitem-officeimo-email-store-emailstoreitemreference-threading-cancellationtoken) parameter `reference`
- Method [EmailStoreSession.ReadSummary](/api/email/officeimo-email-store-emailstoresession/#method-readsummary-officeimo-email-store-emailstoreitemreference-threading-cancellationtoken) parameter `reference`

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

[EmailStoreItemReference.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L15)

Stable source identifier.

`public EmailStoreItemId Key { get; }` [#](#property-key)

[EmailStoreItemReference.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L18)

Typed stable source identifier.

`public string FolderId { get; }` [#](#property-folderid)

[EmailStoreItemReference.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L21)

Containing folder identifier.

`public EmailStoreFolderId FolderKey { get; }` [#](#property-folderkey)

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

Typed containing-folder identifier.

`public bool IsAssociated { get; }` [#](#property-isassociated)

[EmailStoreItemReference.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L27)

True for folder-associated information such as views and folder settings.

`public bool IsOrphaned { get; }` [#](#property-isorphaned)

[EmailStoreItemReference.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L30)

True when the source index exposes the item but its folder contents table does not.

`public EmailStoreItemSummary? Summary { get; }` [#](#property-summary)

[EmailStoreItemReference.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemReference.cs#L33)

Summary projected from a source contents table when it was available without an item read.

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