# BookOnixSubject

Explicit subject classification. Code membership and suitability are not inferred or verified.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

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

**Implements**

`IEquatable<BookOnixSubject>`

**Modifiers**

sealed

Explicit subject classification. Code membership and suitability are not inferred or verified.

## Inheritance

- object
- BookOnixSubject

## 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 [BookOnixExportOptions.Subjects](/api/workflows/officeimo-workflows-bookonixexportoptions/#property-subjects)
- Method [BookOnixSubject.<Clone>$](/api/workflows/officeimo-workflows-bookonixsubject/#method-clone)

### Accepted by parameters 5

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

Filter members 

Show inherited

## Constructors

`public BookOnixSubject()` [#](#constructor-ctor)

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

`Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)`

## Methods

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

Returns

`BookOnixSubject`

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixSubject? other)` [#](#method-equals-bookonixsubject)

Parameters

**other BookOnixSubject? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixSubject? required**

**right BookOnixSubject? required**

Returns

`bool`

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

Parameters

**left BookOnixSubject? required**

**right BookOnixSubject? 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 BookOnixSubjectScheme Scheme { get; init; }` [#](#property-scheme)

[BookOnixSubject.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSubject.cs#L39)

Subject scheme.

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

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

Required only for a proprietary scheme; forbidden for standard schemes.

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

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

Optional scheme version, retained verbatim.

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

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

Optional subject code. At least a code or heading is required; keywords use headings only.

`public IReadOnlyList<BookOnixSubjectHeading> Headings { get; init; }` [#](#property-headings)

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

At most 16 headings. Repeated headings require distinct explicit languages; a single heading may omit its language.

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

[BookOnixSubject.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSubject.cs#L49)

Marks the main subject for this scheme. Not allowed for keywords or Thema qualifiers.

<!-- PowerForge markdown artifact sha256:19B407C7697BD7F9AE3F78AE45D85D9CE8A19DD951984D7752D94351003FCA3C -->
