Show / Hide Table of Contents

Class EpubMetadataType

Represents a type of the EPUB book. Types are used to indicate that the EPUB book is of a specialized type (e.g., annotations or a dictionary packaged in EPUB format).

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dctype, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.8, and http://purl.org/dc/elements/1.1/type for more information.

Inheritance
object
EpubMetadataType
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataType

Constructors

View Source

EpubMetadataType(string, string?)

Initializes a new instance of the EpubMetadataType class.

Declaration
public EpubMetadataType(string type, string? id = null)
Parameters
Type Name Description
string type

The name of the type.

string id

The unique ID of this type metadata element or null if the type metadata element doesn't have an ID.

Exceptions
Type Condition
ArgumentNullException

The type parameter is null.

Properties

View Source

Id

Gets the unique ID of this type metadata element or null if the type metadata element doesn't have an ID.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-id for more information.

Declaration
public string? Id { get; }
Property type: string
View Source

Type

Gets the name of the type.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dctype, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.8, and http://purl.org/dc/elements/1.1/type for more information.

Declaration
public string Type { get; }
Property type: string
  • View Source
In this article
Back to top Generated by DocFX