# EmailStoreItemId

Format-neutral stable identifier for one item within an open email store.

Struct 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreItemId.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L9)

**Base**

`ValueType`

**Implements**

`IEquatable<EmailStoreItemId>` `IComparable<EmailStoreItemId>`

**Modifiers**

sealed

Format-neutral stable identifier for one item within an open email store.

## Inheritance

- ValueType
- EmailStoreItemId

## Usage

Explore 16 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 5

- Property [EmailStoreFields.ItemId](/api/email/officeimo-email-store-emailstorefields/#property-itemid)
- Property [EmailStoreItem.Key](/api/email/officeimo-email-store-emailstoreitem/#property-key)
- Method [EmailStoreItemId.Parse](/api/email/officeimo-email-store-emailstoreitemid/#method-parse-string)
- Property [EmailStoreItemReference.Key](/api/email/officeimo-email-store-emailstoreitemreference/#property-key)
- Property [EmailStorePstMutationSelectionReport.ItemIds](/api/email/officeimo-email-store-emailstorepstmutationselectionreport/#property-itemids)

### Accepted by parameters 11

- Method [EmailConversationGraph.GetChildren](/api/email/officeimo-email-store-emailconversationgraph/#method-getchildren-officeimo-email-store-emailstoreitemid) parameter `itemId`
- Method [EmailConversationGraph.GetConversation](/api/email/officeimo-email-store-emailconversationgraph/#method-getconversation-officeimo-email-store-emailstoreitemid) parameter `itemId`
- Method [EmailConversationGraph.GetNode](/api/email/officeimo-email-store-emailconversationgraph/#method-getnode-officeimo-email-store-emailstoreitemid) parameter `itemId`
- Method [EmailConversationGraph.GetParents](/api/email/officeimo-email-store-emailconversationgraph/#method-getparents-officeimo-email-store-emailstoreitemid) parameter `itemId`
- Method [EmailStoreItemId.CompareTo](/api/email/officeimo-email-store-emailstoreitemid/#method-compareto-officeimo-email-store-emailstoreitemid) parameter `other`
- Method [EmailStoreItemId.Equals](/api/email/officeimo-email-store-emailstoreitemid/#method-equals-officeimo-email-store-emailstoreitemid) parameter `other`
- Method [EmailStoreItemId.op_Equality](/api/email/officeimo-email-store-emailstoreitemid/#method-op-equality-officeimo-email-store-emailstoreitemid-officeimo-email-store-emailstoreitemid) parameter `left`
- Method [EmailStoreItemId.op_Equality](/api/email/officeimo-email-store-emailstoreitemid/#method-op-equality-officeimo-email-store-emailstoreitemid-officeimo-email-store-emailstoreitemid) parameter `right`
- Method [EmailStoreItemId.op_Inequality](/api/email/officeimo-email-store-emailstoreitemid/#method-op-inequality-officeimo-email-store-emailstoreitemid-officeimo-email-store-emailstoreitemid) parameter `left`
- Method [EmailStoreItemId.op_Inequality](/api/email/officeimo-email-store-emailstoreitemid/#method-op-inequality-officeimo-email-store-emailstoreitemid-officeimo-email-store-emailstoreitemid) parameter `right`
- Method [EmailStoreItemId.TryParse](/api/email/officeimo-email-store-emailstoreitemid/#method-tryparse-string-officeimo-email-store-emailstoreitemid) parameter `id`

Filter members 

Show inherited

## Constructors

`public EmailStoreItemId(string value)` [#](#constructor-ctor-string)

[EmailStoreItemId.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L9)

Creates an item identifier from the exact source value.

Parameters

**value string required**

## Methods

`public int CompareTo(EmailStoreItemId other)` [#](#method-compareto-officeimo-email-store-emailstoreitemid)

[EmailStoreItemId.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L42)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Parameters

**other OfficeIMO.Email.Store.EmailStoreItemId required**

An object to compare with this instance.

Returns

`int` A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes in the sort order. Zero This instance occurs in the same position in the sort order as . Greater than zero This instance follows in the sort order.

Equals 2 overloads

`public bool Equals(EmailStoreItemId other)` [#](#method-equals-officeimo-email-store-emailstoreitemid)

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

Indicates whether the current object is equal to another object of the same type.

Parameters

**other OfficeIMO.Email.Store.EmailStoreItemId required**

An object to compare with this object.

Returns

`bool` true if the current object is equal to the other parameter; otherwise, false.

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

[EmailStoreItemId.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L36)

Indicates whether this instance and a specified object are equal.

Parameters

**obj object? required**

The object to compare with the current instance.

Returns

`bool` true if obj and this instance are the same type and represent the same value; otherwise, false.

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

[EmailStoreItemId.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L39)

Returns the hash code for this instance.

Returns

`int` A 32-bit signed integer that is the hash code for this instance.

`public static bool op_Equality(EmailStoreItemId left, EmailStoreItemId right)` [#](#method-op-equality-officeimo-email-store-emailstoreitemid-officeimo-email-store-emailstoreitemid)

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

Tests two identifiers for ordinal equality.

Parameters

**left OfficeIMO.Email.Store.EmailStoreItemId required**

**right OfficeIMO.Email.Store.EmailStoreItemId required**

Returns

`bool`

`public static bool op_Inequality(EmailStoreItemId left, EmailStoreItemId right)` [#](#method-op-inequality-officeimo-email-store-emailstoreitemid-officeimo-email-store-emailstoreitemid)

[EmailStoreItemId.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L51)

Tests two identifiers for ordinal inequality.

Parameters

**left OfficeIMO.Email.Store.EmailStoreItemId required**

**right OfficeIMO.Email.Store.EmailStoreItemId required**

Returns

`bool`

`public static EmailStoreItemId Parse(string value)` [#](#method-parse-string)

[EmailStoreItemId.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L20)

Parses a non-empty item identifier.

Parameters

**value string required**

Returns

`EmailStoreItemId`

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

[EmailStoreItemId.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L45)

Returns the fully qualified type name of this instance.

Returns

`string` The fully qualified type name.

`public static bool TryParse(string? value, out EmailStoreItemId id)` [#](#method-tryparse-string-officeimo-email-store-emailstoreitemid)

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

Attempts to parse a non-empty item identifier.

Parameters

**value string? required**

**id OfficeIMO.Email.Store.EmailStoreItemId required**

Returns

`bool`

## Inherited Methods

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

Inherited from object

Returns

`Type`

## Properties

`public string Value { get; }` [#](#property-value)

[EmailStoreItemId.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L14)

Exact source identifier.

`public bool IsEmpty { get; }` [#](#property-isempty)

[EmailStoreItemId.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Model/EmailStoreItemId.cs#L17)

Whether this is the uninitialized default struct value.

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