Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

AccessAttachment

OfficeIMO.Access

Namespace
OfficeIMO.Access
Assembly
OfficeIMO.Access
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Embedded attachment metadata with lazy, bounded native payload decoding. Files are never opened or executed.

Inheritance

  • object
  • AccessAttachment

Usage

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

Returned or exposed by 1

Methods

public byte[] GetBytes(CancellationToken cancellationToken = default) #

Decodes the bounded embedded file bytes through Core's checksum-validating compression owner.

Parameters

cancellationToken System.Threading.CancellationToken = default optional

Returns

byte[]
public byte[] GetEncodedBytes() #

Returns a defensive copy of the exact native attachment wrapper, including compression and metadata.

Returns

byte[]
public Stream OpenRead(CancellationToken cancellationToken = default) #

Opens a caller-owned read-only stream over decoded file bytes. No filesystem path is resolved.

Parameters

cancellationToken System.Threading.CancellationToken = default optional

Returns

Stream

Properties

public string? FileName { get; } #

Stored file name; it is never used as an output path.

public string? FileType { get; } #

Stored file extension/type label.

public string? FileUrl { get; } #

Stored URL metadata; loading never follows it.

public DateTime? TimeStamp { get; } #

Optional native file timestamp, without a guessed time zone.

public int? Flags { get; } #

Persisted attachment flags.