# EpubSubjectMetadata

A human-readable subject with optional classification authority and code.

Class 

`OfficeIMO.Epub`

**Namespace**

`OfficeIMO.Epub`

**Assembly**

`OfficeIMO.Epub`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[EpubSubjectMetadata.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Epub/Authoring/EpubSubjectMetadata.cs#L6)

**Modifiers**

sealed

A human-readable subject with optional classification authority and code.

## Inheritance

- object
- EpubSubjectMetadata

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

### Accepted by parameters 1

- Method [EpubPublication.AddSubject](/api/epub/officeimo-epub-epubpublication/#method-addsubject-string-officeimo-epub-epubsubjectmetadata) parameter `subject`

Filter members 

Show inherited

## Constructors

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

[EpubSubjectMetadata.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Epub/Authoring/EpubSubjectMetadata.cs#L6)

## 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 string Text { get; set; }` [#](#property-text)

[EpubSubjectMetadata.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Epub/Authoring/EpubSubjectMetadata.cs#L6)

Human-readable heading.

`public string? Authority { get; set; }` [#](#property-authority)

[EpubSubjectMetadata.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Epub/Authoring/EpubSubjectMetadata.cs#L8)

Optional authority, such as BISAC or Thema. Vocabulary membership is not inferred.

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

[EpubSubjectMetadata.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Epub/Authoring/EpubSubjectMetadata.cs#L10)

Optional subject code. A code requires an authority.

`public string? Language { get; set; }` [#](#property-language)

[EpubSubjectMetadata.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Epub/Authoring/EpubSubjectMetadata.cs#L12)

Optional BCP 47 language of the heading.

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