Class
OutlookEntryIdCodec
OfficeIMO.Email
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[]
Returns
OutlookEntryIdKindpublic static byte[] EncodeOneOff(EmailAddress address) #Creates a Unicode MAPI One-Off EntryID.
Parameters
- address OfficeIMO.Email.EmailAddress
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[]
- address OfficeIMO.Email.EmailAddress?
- error string?
- ansiCodePage int = 1252
Returns
bool