# BookOnixDeletionReason

A plain-text reason for withdrawing a metadata record, optionally tagged with an ONIX list 74 language.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixChanges.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixChanges.cs#L46)

**Implements**

`IEquatable<BookOnixDeletionReason>`

**Modifiers**

sealed

A plain-text reason for withdrawing a metadata record, optionally tagged with an ONIX list 74 language.

## Inheritance

- object
- BookOnixDeletionReason

## Usage

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

- Property [BookOnixDeletion.Reasons](/api/workflows/officeimo-workflows-bookonixdeletion/#property-reasons)
- Method [BookOnixDeletionReason.<Clone>$](/api/workflows/officeimo-workflows-bookonixdeletionreason/#method-clone)

### Accepted by parameters 5

- Method [BookOnixDeletionReason.Equals](/api/workflows/officeimo-workflows-bookonixdeletionreason/#method-equals-bookonixdeletionreason) parameter `other`
- Method [BookOnixDeletionReason.op_Equality](/api/workflows/officeimo-workflows-bookonixdeletionreason/#method-op-equality-bookonixdeletionreason-bookonixdeletionreason) parameter `left`
- Method [BookOnixDeletionReason.op_Equality](/api/workflows/officeimo-workflows-bookonixdeletionreason/#method-op-equality-bookonixdeletionreason-bookonixdeletionreason) parameter `right`
- Method [BookOnixDeletionReason.op_Inequality](/api/workflows/officeimo-workflows-bookonixdeletionreason/#method-op-inequality-bookonixdeletionreason-bookonixdeletionreason) parameter `left`
- Method [BookOnixDeletionReason.op_Inequality](/api/workflows/officeimo-workflows-bookonixdeletionreason/#method-op-inequality-bookonixdeletionreason-bookonixdeletionreason) parameter `right`

Filter members 

Show inherited

## Constructors

`public BookOnixDeletionReason(string Text, string? LanguageCode = null)` [#](#constructor-ctor-string-string)

[BookOnixChanges.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixChanges.cs#L46)

A plain-text reason for withdrawing a metadata record, optionally tagged with an ONIX list 74 language.

Parameters

**Text string required**

**LanguageCode string? = null optional**

## Methods

`public BookOnixDeletionReason <Clone>$()` [#](#method-clone)

Returns

`BookOnixDeletionReason`

`public void Deconstruct(out string Text, out string? LanguageCode)` [#](#method-deconstruct-string-string)

Parameters

**Text string required**

**LanguageCode string? required**

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixDeletionReason? other)` [#](#method-equals-bookonixdeletionreason)

Parameters

**other BookOnixDeletionReason? required**

Returns

`bool`

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

Returns

`int`

`public static bool op_Equality(BookOnixDeletionReason? left, BookOnixDeletionReason? right)` [#](#method-op-equality-bookonixdeletionreason-bookonixdeletionreason)

Parameters

**left BookOnixDeletionReason? required**

**right BookOnixDeletionReason? required**

Returns

`bool`

`public static bool op_Inequality(BookOnixDeletionReason? left, BookOnixDeletionReason? right)` [#](#method-op-inequality-bookonixdeletionreason-bookonixdeletionreason)

Parameters

**left BookOnixDeletionReason? required**

**right BookOnixDeletionReason? required**

Returns

`bool`

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

Returns

`string`

## Inherited Methods

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

Inherited from object

Returns

`Type`

## Properties

`public string Text { get; init; }` [#](#property-text)

[BookOnixChanges.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixChanges.cs#L46)

`public string? LanguageCode { get; init; }` [#](#property-languagecode)

[BookOnixChanges.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixChanges.cs#L46)

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