Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfflineAddressBookReaderOptions

OfficeIMO.Email.AddressBook

Namespace
OfficeIMO.Email.AddressBook
Assembly
OfficeIMO.Email
Source revision
c47203b3ce89 with working tree changes
Modifiers
sealed

Safety and compatibility limits for read-only OAB sessions.

Inheritance

  • object
  • OfflineAddressBookReaderOptions

Usage

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

Constructors

OfflineAddressBookReaderOptions 2 overloads
public OfflineAddressBookReaderOptions(long maxInputBytes = 68719476736, int maxDiscoveredFiles = 4096, int maxDirectoryDepth = 16, int maxMetadataBytes = 8388608, int maxPropertiesPerTable = 4096, int maxRecordBytes = 16777216, int maxStringBytes = 4194304, int maxBinaryBytes = 16777216, int maxValuesPerProperty = 100000, long maxDeclaredEntries = 100000000, int string8CodePage = 1252, bool retainRawPropertyBytes = true, int maxDirectoryEntries = 100000) #

Creates an immutable reader profile.

Parameters

maxInputBytes long = 68719476736 optional
maxDiscoveredFiles int = 4096 optional
maxDirectoryDepth int = 16 optional
maxMetadataBytes int = 8388608 optional
maxPropertiesPerTable int = 4096 optional
maxRecordBytes int = 16777216 optional
maxStringBytes int = 4194304 optional
maxBinaryBytes int = 16777216 optional
maxValuesPerProperty int = 100000 optional
maxDeclaredEntries long = 100000000 optional
string8CodePage int = 1252 optional
retainRawPropertyBytes bool = true optional
maxDirectoryEntries int = 100000 optional
public OfflineAddressBookReaderOptions(long maxInputBytes, int maxDiscoveredFiles, int maxDirectoryDepth, int maxMetadataBytes, int maxPropertiesPerTable, int maxRecordBytes, int maxStringBytes, int maxBinaryBytes, int maxValuesPerProperty, long maxDeclaredEntries, int string8CodePage, bool retainRawPropertyBytes) #
EditorBrowsable(1)

Creates the reader profile exposed before directory-entry discovery was bounded. Retained so already-compiled callers continue to bind to the original constructor signature.

Parameters

maxInputBytes long required
maxDiscoveredFiles int required
maxDirectoryDepth int required
maxMetadataBytes int required
maxPropertiesPerTable int required
maxRecordBytes int required
maxStringBytes int required
maxBinaryBytes int required
maxValuesPerProperty int required
maxDeclaredEntries long required
string8CodePage int required
retainRawPropertyBytes bool required

Properties

public static OfflineAddressBookReaderOptions Default { get; } #

Default bounded reader profile.

public long MaxInputBytes { get; } #

Maximum bytes in one OAB component.

public int MaxDiscoveredFiles { get; } #

Maximum .oab files discovered below a directory root.

public int MaxDirectoryDepth { get; } #

Maximum directory recursion depth.

public int MaxMetadataBytes { get; } #

Maximum bytes in the version 4 schema metadata structure.

public int MaxPropertiesPerTable { get; } #

Maximum definitions in either header or entry property table.

public int MaxRecordBytes { get; } #

Maximum bytes in one header or address-book-object record.

public int MaxStringBytes { get; } #

Maximum encoded bytes in one string value.

public int MaxBinaryBytes { get; } #

Maximum bytes in one binary value.

public int MaxValuesPerProperty { get; } #

Maximum values in one multi-valued property.

public long MaxDeclaredEntries { get; } #

Maximum declared records in one Full Details file.

public int String8CodePage { get; } #

Code page used for OAB PtypString8 values.

public bool RetainRawPropertyBytes { get; } #

Whether decoded MAPI properties retain their original OAB value encoding.

public int MaxDirectoryEntries { get; } #

Maximum total filesystem entries inspected during directory discovery, including non-OAB entries.