Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OutlookEntryIdCodec

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
67621aa8a46e with working tree changes
Modifiers
static

Bounded codec for the One-Off and wrapped EntryIDs used by Outlook distribution lists.

Inheritance

  • object
  • OutlookEntryIdCodec

Methods

public static OutlookEntryIdKind Classify(byte[] entryId) #

Classifies a direct or wrapped distribution-list member EntryID.

Parameters

entryId byte[] required
public static byte[] EncodeOneOff(EmailAddress address) #

Creates a Unicode MAPI One-Off EntryID.

Parameters

address OfficeIMO.Email.EmailAddress required

Returns

byte[]
public static bool TryDecodeOneOff(byte[] entryId, out EmailAddress? address, out string? error, int ansiCodePage = 1252) #

Attempts to decode a direct or type-zero wrapped One-Off EntryID.

Parameters

entryId byte[] required
address OfficeIMO.Email.EmailAddress? required
error string? required
ansiCodePage int = 1252 optional

Returns

bool