# BookOnixAudienceCode

An explicit code, heading, or both from an additional audience scheme.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixAudienceCode.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L43)

**Implements**

`IEquatable<BookOnixAudienceCode>`

**Modifiers**

sealed

An explicit code, heading, or both from an additional audience scheme. External code membership and reader suitability are publisher assertions, not independently verified classifications.

## Inheritance

- object
- BookOnixAudienceCode

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

- Method [BookOnixAudienceCode.<Clone>$](/api/workflows/officeimo-workflows-bookonixaudiencecode/#method-clone)
- Property [BookOnixAudienceMetadata.Codes](/api/workflows/officeimo-workflows-bookonixaudiencemetadata/#property-codes)

### Accepted by parameters 5

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

Filter members 

Show inherited

## Constructors

`public BookOnixAudienceCode(BookOnixAudienceScheme Scheme, string? Value = null)` [#](#constructor-ctor-officeimo-workflows-bookonixaudiencescheme-string)

[BookOnixAudienceCode.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L43)

An explicit code, heading, or both from an additional audience scheme. External code membership and reader suitability are publisher assertions, not independently verified classifications.

Parameters

**Scheme OfficeIMO.Workflows.BookOnixAudienceScheme required**

**Value string? = null optional**

## Methods

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

Returns

`BookOnixAudienceCode`

`public void Deconstruct(out BookOnixAudienceScheme Scheme, out string? Value)` [#](#method-deconstruct-bookonixaudiencescheme-string)

Parameters

**Scheme BookOnixAudienceScheme required**

**Value string? required**

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixAudienceCode? other)` [#](#method-equals-bookonixaudiencecode)

Parameters

**other BookOnixAudienceCode? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixAudienceCode? required**

**right BookOnixAudienceCode? required**

Returns

`bool`

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

Parameters

**left BookOnixAudienceCode? required**

**right BookOnixAudienceCode? 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 IReadOnlyList<BookOnixAudienceHeading> Headings { get; init; }` [#](#property-headings)

[BookOnixAudienceCode.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L43)

Up to 16 plain-text headings. At least one is required when Value is null; repeated headings require distinct explicit languages.

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

[BookOnixAudienceCode.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L45)

Required for proprietary schemes and unavailable for other schemes. Identifies the agreed code vocabulary.

`public bool IsMain { get; init; }` [#](#property-ismain)

[BookOnixAudienceCode.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L47)

Marks the main audience. At most one declaration per list 29 code type may be main, including proprietary schemes.

`public BookOnixAudienceScheme Scheme { get; init; }` [#](#property-scheme)

[BookOnixAudienceCode.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L41)

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

[BookOnixAudienceCode.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixAudienceCode.cs#L41)

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