# OfficeProvenanceChange

One format-native provenance mutation.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeProvenanceContracts.cs:236](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L236)

**Modifiers**

sealed

One format-native provenance mutation.

## Inheritance

- object
- OfficeProvenanceChange

## Usage

Explore 2 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

- Property [OfficeProvenanceRemovalResult.Changes](/api/core/officeimo-provenance-officeprovenanceremovalresult/#property-changes)

### Accepted by parameters 1

- Constructor [OfficeProvenanceRemovalResult.OfficeProvenanceRemovalResult](/api/core/officeimo-provenance-officeprovenanceremovalresult/#constructor-ctor-byte-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-collections-generic-ireadonlylist-officeimo-provenance-officeprovenancechange-boolean) parameter `changes`

Filter members 

Show inherited

## Constructors

`public OfficeProvenanceChange(OfficeProvenanceCarrierKind carrier, string location, long removedBytes)` [#](#constructor-ctor-officeimo-provenance-officeprovenancecarrierkind-string-int64)

[OfficeProvenanceContracts.cs:236](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L236)

Creates a mutation descriptor.

Parameters

**carrier OfficeIMO.Provenance.OfficeProvenanceCarrierKind required**

**location string required**

**removedBytes long required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OfficeProvenanceCarrierKind Carrier { get; }` [#](#property-carrier)

[OfficeProvenanceContracts.cs:242](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L242)

Gets the removed carrier kind.

`public string Location { get; }` [#](#property-location)

[OfficeProvenanceContracts.cs:244](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L244)

Gets the format-native location that changed.

`public long RemovedBytes { get; }` [#](#property-removedbytes)

[OfficeProvenanceContracts.cs:246](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L246)

Gets the number of physical bytes removed, or zero when a container was rewritten in place.

<!-- PowerForge markdown artifact sha256:ECADB996CE91A0FEBA1CE0DE552F62277405F81E262A12B5A9ABB068C7797923 -->
