Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreConfigurationDictionary

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Lossless typed editor for the documented Outlook roaming dictionary XML schema. Unsupported entries and unknown XML nodes are retained.

Inheritance

  • object
  • EmailStoreConfigurationDictionary

Usage

Explore 3 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.

Methods

public static EmailStoreConfigurationDictionary Create(string producerVersion = "OfficeIMO.1") #

Creates an empty dictionary with an OfficeIMO producer version.

Parameters

producerVersion string = "OfficeIMO.1" optional
public static EmailStoreConfigurationDictionary Parse(byte[] bytes, int maxXmlBytes = 4194304) #

Parses one bounded PidTagRoamingDictionary stream.

Parameters

bytes byte[] required
maxXmlBytes int = 4194304 optional
public bool Remove(string key) #

Removes one exact dictionary key.

Parameters

key string required

Returns

bool
Set 3 overloads
public void Set(string key, bool value) #

Creates or replaces a Boolean entry.

Parameters

key string required
value bool required
public void Set(string key, int value) #

Creates or replaces a signed Int32 entry.

Parameters

key string required
value int required
public void Set(string key, string value) #

Creates or replaces a Unicode string entry.

Parameters

key string required
value string required
public byte[] ToXml() #

Serializes the current lossless dictionary XML.

Returns

byte[]
public bool TryGet(string key, out EmailStoreConfigurationValue? value) #

Gets one decoded entry.

Parameters

key string required
value OfficeIMO.Email.Store.EmailStoreConfigurationValue? required

Returns

bool

Properties

public string? ProducerVersion { get; } #

Producer/version string declared by the dictionary.

public IReadOnlyDictionary<string, EmailStoreConfigurationValue> Entries { get; } #

Decoded entries keyed case-sensitively as required by the XML uniqueness contract.

public bool IsProtocolEnvelopeValid { get; } #

True when the envelope, producer version, keys, and all values use supported valid encodings.