Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

EmailStoreItemId

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
cb53537f3ec4 with working tree changes
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.

Accepted by parameters 11

Constructors

public EmailStoreItemId(string value) #

Creates an item identifier from the exact source value.

Parameters

value string required

Methods

public int CompareTo(EmailStoreItemId other) #

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) #

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) #

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() #

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) #

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) #

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) #

Parses a non-empty item identifier.

Parameters

value string required
public override string ToString() #

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) #

Attempts to parse a non-empty item identifier.

Parameters

value string? required
id OfficeIMO.Email.Store.EmailStoreItemId required

Returns

bool

Properties

public string Value { get; } #

Exact source identifier.

public bool IsEmpty { get; } #

Whether this is the uninitialized default struct value.