Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeProvenanceRemovalResult

OfficeIMO.Provenance

Namespace
OfficeIMO.Provenance
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Result of a provenance-removal operation.

Inheritance

  • object
  • OfficeProvenanceRemovalResult

Usage

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

Constructors

OfficeProvenanceRemovalResult 2 overloads
public OfficeProvenanceRemovalResult(byte[] data, OfficeProvenanceReport before, OfficeProvenanceReport after, IReadOnlyList<OfficeProvenanceChange> changes, bool wasReserialized) #

Creates a provenance-removal result.

Parameters

data byte[] required
before OfficeIMO.Provenance.OfficeProvenanceReport required
after OfficeIMO.Provenance.OfficeProvenanceReport required
changes System.Collections.Generic.IReadOnlyList<OfficeIMO.Provenance.OfficeProvenanceChange> required
wasReserialized bool required
public OfficeProvenanceRemovalResult(byte[] data, OfficeProvenanceReport before, OfficeProvenanceReport after, IReadOnlyList<OfficeProvenanceChange> changes, bool wasReserialized, bool wereInvalidatedSignaturesRemoved) #

Creates a provenance-removal result and records whether invalidated signatures were removed.

Parameters

data byte[] required
before OfficeIMO.Provenance.OfficeProvenanceReport required
after OfficeIMO.Provenance.OfficeProvenanceReport required
changes System.Collections.Generic.IReadOnlyList<OfficeIMO.Provenance.OfficeProvenanceChange> required
wasReserialized bool required
wereInvalidatedSignaturesRemoved bool required

Methods

public byte[] ToArray() #

Returns an owned copy of the resulting asset.

Returns

byte[]

Properties

public OfficeProvenanceReport Before { get; } #

Gets the inspection before removal.

public OfficeProvenanceReport After { get; } #

Gets the inspection after removal.

public IReadOnlyList<OfficeProvenanceChange> Changes { get; } #

Gets format-native changes in source order.

public bool WasChanged { get; } #

Gets whether any carrier changed.

public bool WasReserialized { get; } #

Gets whether the container was serialized rather than copied byte-for-byte around removed carriers.

public bool WereInvalidatedSignaturesRemoved { get; } #

Gets whether an owning document API removed signatures that the provenance mutation invalidated.