# OfficeVbaWriteResult

Reports the compound artifact and the consequences of a VBA write.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OfficeVbaModels.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L73)

**Modifiers**

sealed

Reports the compound artifact and the consequences of a VBA write.

## Inheritance

- object
- OfficeVbaWriteResult

## 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

- Method [OfficeVbaProject.Write](/api/core/officeimo-officevbaproject/#method-write-officeimo-officevbawriteoptions)

Filter members 

Show inherited

## Methods

`public byte[] GetBytes()` [#](#method-getbytes)

[OfficeVbaModels.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L73)

Gets a caller-owned copy of the complete vbaProject.bin bytes.

Returns

`byte[]`

## 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 bool Changed { get; }` [#](#property-changed)

[OfficeVbaModels.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L75)

Gets whether the result changes the loaded artifact.

`public IReadOnlyList<string> ChangedModules { get; }` [#](#property-changedmodules)

[OfficeVbaModels.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L77)

Gets the edited, added, renamed, deleted, and compression-normalized module names.

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